[trunk] Attempt to fix compilation error with mj2

This commit is contained in:
Mathieu Malaterre 2012-11-16 09:19:11 +00:00
parent c0259255b0
commit b3e467dcba
1 changed files with 1 additions and 0 deletions

View File

@ -27,6 +27,7 @@ if(WIN32)
endif() endif()
endif() endif()
add_definitions(-DUSE_LEGACY)
foreach(exe decompress compress) foreach(exe decompress compress)
set(jpwl_exe opj_jpwl_${exe}) set(jpwl_exe opj_jpwl_${exe})
set(jp2_exe opj_${exe}) set(jp2_exe opj_${exe})