Blame SOURCES/openjpeg2_opj2.patch

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