== 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 fe03db830540272a9a9c0065674281a9ed9f5f1d..6f5056b341ad34a59fd48167b570cfd3907af63f 100644 (file)
@@ -32,6 +32,10 @@ set(INC_SYS
 
 )
 
+if(WIN32)
+       add_definitions(-DOPJ_STATIC)
+endif()
+
 set(SRC
        bio.c
        cio.c