== CMake ==
authorAndrea Weikert <elubie@gmx.net>
Mon, 20 Jun 2011 18:16:46 +0000 (18:16 +0000)
committerAndrea Weikert <elubie@gmx.net>
Mon, 20 Jun 2011 18:16:46 +0000 (18:16 +0000)
* added same definition used for compiling openjpeg with SCons, was causing issues when linking

extern/libopenjpeg/CMakeLists.txt

index fe03db8..6f5056b 100644 (file)
@@ -32,6 +32,10 @@ set(INC_SYS
 
 )
 
+if(WIN32)
+       add_definitions(-DOPJ_STATIC)
+endif()
+
 set(SRC
        bio.c
        cio.c