2019-11-05 19:43:00 +00:00
|
|
|
diff --git a/src/bin/jp2/CMakeLists.txt b/src/bin/jp2/CMakeLists.txt
|
|
|
|
index 4d4bd95..619ea51 100644
|
|
|
|
--- a/src/bin/jp2/CMakeLists.txt
|
|
|
|
+++ b/src/bin/jp2/CMakeLists.txt
|
2019-05-07 07:34:54 +00:00
|
|
|
@@ -44,6 +44,8 @@ endif()
|
|
|
|
# Loop over all executables:
|
|
|
|
foreach(exe opj_decompress opj_compress opj_dump)
|
|
|
|
add_executable(${exe} ${exe}.c ${common_SRCS})
|
2019-11-05 19:43:00 +00:00
|
|
|
+ string(REPLACE "opj_" "opj2_" exe2 ${exe})
|
2019-05-07 07:34:54 +00:00
|
|
|
+ set_target_properties(${exe} PROPERTIES OUTPUT_NAME ${exe2})
|
2019-11-05 19:43:00 +00:00
|
|
|
if(NOT ${CMAKE_VERSION} VERSION_LESS "2.8.12")
|
2019-05-07 07:34:54 +00:00
|
|
|
target_compile_options(${exe} PRIVATE ${OPENJP2_COMPILE_OPTIONS})
|
|
|
|
endif()
|