vcpkg/ports/freeimage/use-freeimage-config-include.patch
TsukasaSugiura 82d65261da [freeimage] Update to FreeImage 3.18.0
Update FreeImage port to FreeImage 3.18.0.
2018-11-11 23:21:16 +09:00

17 lines
587 B
Diff

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