--- examples/CMakeLists.txt.orig 2024-08-07 19:21:18 UTC +++ examples/CMakeLists.txt @@ -32,12 +32,6 @@ install(FILES heif-dec.1 DESTINATION ${CMAKE_INSTALL_M install(TARGETS heif-dec RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}) install(FILES heif-dec.1 DESTINATION ${CMAKE_INSTALL_MANDIR}/man1) -# create symbolic link from the old name `heif-convert` to `heif-dec` -if(NOT WIN32) - install(CODE "execute_process(COMMAND ${CMAKE_COMMAND} -E create_symlink heif-dec${CMAKE_EXECUTABLE_SUFFIX} \$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_BINDIR}/heif-convert${CMAKE_EXECUTABLE_SUFFIX})") -else() - install(CODE "execute_process(COMMAND ${CMAKE_COMMAND} -E copy ${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_BINDIR}/heif-dec${CMAKE_EXECUTABLE_SUFFIX} ${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_BINDIR}/heif-convert${CMAKE_EXECUTABLE_SUFFIX})") -endif() add_executable(heif-enc ${getopt_sources}