From: Mathieu Malaterre Date: Fri, 16 Nov 2012 09:19:11 +0000 (+0000) Subject: [trunk] Attempt to fix compilation error with mj2 X-Git-Tag: version.2.0~10 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b3e467dcba50b2317afb75cdb6aa768df4ec814c;p=openjpeg [trunk] Attempt to fix compilation error with mj2 --- diff --git a/src/bin/jpwl/CMakeLists.txt b/src/bin/jpwl/CMakeLists.txt index 8e7d4909..ea522068 100644 --- a/src/bin/jpwl/CMakeLists.txt +++ b/src/bin/jpwl/CMakeLists.txt @@ -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})