From b3e467dcba50b2317afb75cdb6aa768df4ec814c Mon Sep 17 00:00:00 2001 From: Mathieu Malaterre Date: Fri, 16 Nov 2012 09:19:11 +0000 Subject: [PATCH] [trunk] Attempt to fix compilation error with mj2 --- src/bin/jpwl/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) 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})