]> granicus.if.org Git - openjpeg/commitdiff
[trunk] Attempt to fix compilation error with mj2
authorMathieu Malaterre <mathieu.malaterre@gmail.com>
Fri, 16 Nov 2012 09:19:11 +0000 (09:19 +0000)
committerMathieu Malaterre <mathieu.malaterre@gmail.com>
Fri, 16 Nov 2012 09:19:11 +0000 (09:19 +0000)
src/bin/jpwl/CMakeLists.txt

index 8e7d4909634b0b2a0350558b00f70a5effcaeeac..ea5220685382c2f807b800d310e113ecc60f3343 100644 (file)
@@ -27,6 +27,7 @@ if(WIN32)
   endif()
 endif()
 
+add_definitions(-DUSE_LEGACY)
 foreach(exe decompress compress)
   set(jpwl_exe opj_jpwl_${exe})
   set(jp2_exe opj_${exe})