STB headers may be in /usr/include on some distribs (alpine 3.17)
This commit is contained in:
@@ -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)
|
include(FindPackageHandleStandardArgs)
|
||||||
|
|
||||||
|
|||||||
@@ -20,7 +20,7 @@
|
|||||||
#include "JPEGImage.hpp"
|
#include "JPEGImage.hpp"
|
||||||
|
|
||||||
#define STB_IMAGE_WRITE_IMPLEMENTATION
|
#define STB_IMAGE_WRITE_IMPLEMENTATION
|
||||||
#include <stb/stb_image_write.h>
|
#include <stb_image_write.h>
|
||||||
|
|
||||||
#include "image/Exception.hpp"
|
#include "image/Exception.hpp"
|
||||||
#include "RawImage.hpp"
|
#include "RawImage.hpp"
|
||||||
|
|||||||
@@ -25,8 +25,8 @@
|
|||||||
#define STBIR_DEFAULT_FILTER_DOWNSAMPLE STBIR_FILTER_MITCHELL
|
#define STBIR_DEFAULT_FILTER_DOWNSAMPLE STBIR_FILTER_MITCHELL
|
||||||
#define STBIR_DEFAULT_FILTER_UPSAMPLE STBIR_FILTER_CATMULLROM
|
#define STBIR_DEFAULT_FILTER_UPSAMPLE STBIR_FILTER_CATMULLROM
|
||||||
|
|
||||||
#include <stb/stb_image.h>
|
#include <stb_image.h>
|
||||||
#include <stb/stb_image_resize.h>
|
#include <stb_image_resize.h>
|
||||||
|
|
||||||
#include "JPEGImage.hpp"
|
#include "JPEGImage.hpp"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user