early-access version 2853
This commit is contained in:
16
externals/vcpkg/ports/freeimage/use-freeimage-config-include.patch
vendored
Executable file
16
externals/vcpkg/ports/freeimage/use-freeimage-config-include.patch
vendored
Executable file
@@ -0,0 +1,16 @@
|
||||
diff --git a/Source/FreeImage.h b/Source/FreeImage.h
|
||||
index 12182cd..86a1e68 100644
|
||||
--- a/Source/FreeImage.h
|
||||
+++ b/Source/FreeImage.h
|
||||
@@ -32,6 +32,11 @@
|
||||
#define FREEIMAGE_MINOR_VERSION 18
|
||||
#define FREEIMAGE_RELEASE_SERIAL 0
|
||||
|
||||
+// vcpkg specific includes --------------------------------------------------
|
||||
+// Include FreeImageConfig.h to define FREEIMAGE_LIB in static builds,
|
||||
+// or do not define it in dynamic builds
|
||||
+#include "FreeImageConfig.h"
|
||||
+
|
||||
// Compiler options ---------------------------------------------------------
|
||||
|
||||
#include <wchar.h> // needed for UNICODE functions
|
||||
Reference in New Issue
Block a user