mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-27 15:29:01 +08:00
5bd036cf5a
Extensive modification have been done to support building with external dependencies. The biggest change is a new CMake-based build system. Several patches are based on the equivalent ones used in Debian packaging, see http://sources.debian.net/patches/freeimage . The only dependency for which the internal version is still used is OpenEXR.
17 lines
587 B
Diff
17 lines
587 B
Diff
diff --git a/Source/FreeImage.h b/Source/FreeImage.h
|
|
index cc66b7d..cc66812 100644
|
|
--- a/Source/FreeImage.h
|
|
+++ b/Source/FreeImage.h
|
|
@@ -32,6 +32,11 @@
|
|
#define FREEIMAGE_MINOR_VERSION 17
|
|
#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
|