STB headers may be in /usr/include on some distribs (alpine 3.17)

This commit is contained in:
emeric
2023-01-22 16:22:23 +01:00
parent 93fac1a0ea
commit 8a9d79a493
3 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
find_path(STB_INCLUDE_DIR stb/stb_image.h)
find_path(STB_INCLUDE_DIR stb_image.h PATH_SUFFIXES stb)
include(FindPackageHandleStandardArgs)
+1 -1
View File
@@ -20,7 +20,7 @@
#include "JPEGImage.hpp"
#define STB_IMAGE_WRITE_IMPLEMENTATION
#include <stb/stb_image_write.h>
#include <stb_image_write.h>
#include "image/Exception.hpp"
#include "RawImage.hpp"
+2 -2
View File
@@ -25,8 +25,8 @@
#define STBIR_DEFAULT_FILTER_DOWNSAMPLE STBIR_FILTER_MITCHELL
#define STBIR_DEFAULT_FILTER_UPSAMPLE STBIR_FILTER_CATMULLROM
#include <stb/stb_image.h>
#include <stb/stb_image_resize.h>
#include <stb_image.h>
#include <stb_image_resize.h>
#include "JPEGImage.hpp"