vcpkg/ports/freeimage/use-external-jxrlib.patch
Silvio 5bd036cf5a Add freeimage port
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.
2016-11-28 22:33:18 +01:00

15 lines
433 B
Diff

diff --git a/Source/FreeImage/PluginJXR.cpp b/Source/FreeImage/PluginJXR.cpp
index 0e14e09..8eb9d5d 100644
--- a/Source/FreeImage/PluginJXR.cpp
+++ b/Source/FreeImage/PluginJXR.cpp
@@ -23,7 +23,8 @@
#include "Utilities.h"
#include "../Metadata/FreeImageTag.h"
-#include "../LibJXR/jxrgluelib/JXRGlue.h"
+#define INITGUID
+#include <JXRGlue.h>
// ==========================================================
// Plugin Interface