2020-11-28 22:49:27 +00:00
|
|
|
diff -rupN --no-dereference openjpeg-2.3.1/src/bin/jp2/CMakeLists.txt openjpeg-2.3.1-new/src/bin/jp2/CMakeLists.txt
|
2020-10-15 20:20:13 +00:00
|
|
|
--- openjpeg-2.3.1/src/bin/jp2/CMakeLists.txt 2019-04-02 14:45:15.000000000 +0200
|
2020-12-17 15:52:52 +00:00
|
|
|
+++ openjpeg-2.3.1-new/src/bin/jp2/CMakeLists.txt 2020-12-17 16:25:44.665030580 +0100
|
2020-10-15 20:20:13 +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})
|
|
|
|
+ string(REPLACE "opj_" "opj2_" exe2 ${exe})
|
|
|
|
+ set_target_properties(${exe} PROPERTIES OUTPUT_NAME ${exe2})
|
|
|
|
if(NOT ${CMAKE_VERSION} VERSION_LESS "2.8.12")
|
|
|
|
target_compile_options(${exe} PRIVATE ${OPENJP2_COMPILE_OPTIONS})
|
|
|
|
endif()
|