Blame SOURCES/openjpeg2_opj2.patch

491362
diff -rupN --no-dereference openjpeg-2.4.0/src/bin/jp2/CMakeLists.txt openjpeg-2.4.0-new/src/bin/jp2/CMakeLists.txt
491362
--- openjpeg-2.4.0/src/bin/jp2/CMakeLists.txt	2020-12-28 21:59:39.000000000 +0100
491362
+++ openjpeg-2.4.0-new/src/bin/jp2/CMakeLists.txt	2020-12-29 15:45:09.466819414 +0100
491362
@@ -44,6 +44,8 @@ endif()
491362
 # Loop over all executables:
491362
 foreach(exe opj_decompress opj_compress opj_dump)
491362
   add_executable(${exe} ${exe}.c ${common_SRCS})
491362
+  string(REPLACE "opj_" "opj2_" exe2 ${exe})
491362
+  set_target_properties(${exe} PROPERTIES OUTPUT_NAME ${exe2})
491362
   if(NOT ${CMAKE_VERSION} VERSION_LESS "2.8.12")
491362
     target_compile_options(${exe} PRIVATE ${OPENJP2_COMPILE_OPTIONS})
491362
   endif()