[trunk] Attempt to fix compilation error with mj2
This commit is contained in:
parent
9398bc1764
commit
c0259255b0
|
@ -45,11 +45,8 @@
|
|||
#include <lcms.h>
|
||||
#endif
|
||||
|
||||
#ifdef CLRSPC_GRAY
|
||||
#ifdef USE_LEGACY
|
||||
#define OPJ_CLRSPC_GRAY CLRSPC_GRAY
|
||||
#endif
|
||||
|
||||
#ifdef CLRSPC_SRGB
|
||||
#define OPJ_CLRSPC_SRGB CLRSPC_SRGB
|
||||
#endif
|
||||
|
||||
|
|
|
@ -24,6 +24,7 @@ foreach(exe
|
|||
opj_mj2_decompress
|
||||
opj_mj2_compress
|
||||
)
|
||||
add_definitions(-DUSE_LEGACY)
|
||||
add_executable(${exe}
|
||||
${exe}.c
|
||||
${common_SRCS}
|
||||
|
|
Loading…
Reference in New Issue