summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMathieu Malaterre <mathieu.malaterre@gmail.com>2012-11-16 09:19:11 +0000
committerMathieu Malaterre <mathieu.malaterre@gmail.com>2012-11-16 09:19:11 +0000
commitb3e467dcba50b2317afb75cdb6aa768df4ec814c (patch)
treec5a98092cd6fae04ccd7b864821ae83b24c9be05 /src
parentc0259255b0da8a1492400343d5a25e305cd690fa (diff)
[trunk] Attempt to fix compilation error with mj2
Diffstat (limited to 'src')
-rw-r--r--src/bin/jpwl/CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
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})