[trunk] rename USE_LEGACY into OPJ_USE_LEGACY for consistency with other #define
This commit is contained in:
parent
b3e467dcba
commit
a622c1c2fe
|
@ -45,7 +45,7 @@
|
||||||
#include <lcms.h>
|
#include <lcms.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef USE_LEGACY
|
#ifdef OPJ_USE_LEGACY
|
||||||
#define OPJ_CLRSPC_GRAY CLRSPC_GRAY
|
#define OPJ_CLRSPC_GRAY CLRSPC_GRAY
|
||||||
#define OPJ_CLRSPC_SRGB CLRSPC_SRGB
|
#define OPJ_CLRSPC_SRGB CLRSPC_SRGB
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -27,7 +27,7 @@ if(WIN32)
|
||||||
endif()
|
endif()
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
add_definitions(-DUSE_LEGACY)
|
add_definitions(-DOPJ_USE_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})
|
||||||
|
|
|
@ -24,7 +24,7 @@ foreach(exe
|
||||||
opj_mj2_decompress
|
opj_mj2_decompress
|
||||||
opj_mj2_compress
|
opj_mj2_compress
|
||||||
)
|
)
|
||||||
add_definitions(-DUSE_LEGACY)
|
add_definitions(-DOPJ_USE_LEGACY)
|
||||||
add_executable(${exe}
|
add_executable(${exe}
|
||||||
${exe}.c
|
${exe}.c
|
||||||
${common_SRCS}
|
${common_SRCS}
|
||||||
|
|
Loading…
Reference in New Issue