summaryrefslogtreecommitdiff
path: root/src/bin/mj2
diff options
context:
space:
mode:
authorMathieu Malaterre <mathieu.malaterre@gmail.com>2012-11-16 09:18:03 +0000
committerMathieu Malaterre <mathieu.malaterre@gmail.com>2012-11-16 09:18:03 +0000
commitc0259255b0da8a1492400343d5a25e305cd690fa (patch)
tree4cf164ee8c1d471c22ad9d0e8ca67b071ebe1bf2 /src/bin/mj2
parent9398bc1764eada4e2e4851ff396fa5f92960b530 (diff)
[trunk] Attempt to fix compilation error with mj2
Diffstat (limited to 'src/bin/mj2')
-rw-r--r--src/bin/mj2/CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/bin/mj2/CMakeLists.txt b/src/bin/mj2/CMakeLists.txt
index d9cc67de..93ba05b8 100644
--- a/src/bin/mj2/CMakeLists.txt
+++ b/src/bin/mj2/CMakeLists.txt
@@ -24,6 +24,7 @@ foreach(exe
opj_mj2_decompress
opj_mj2_compress
)
+ add_definitions(-DUSE_LEGACY)
add_executable(${exe}
${exe}.c
${common_SRCS}