From b51a71e846e9cc8b1d60a9ed2b1a56b125e60758 Mon Sep 17 00:00:00 2001 From: David Korth Date: Sun, 25 Mar 2018 18:24:19 -0400 Subject: [PATCH] [rp-stub] CMakeLists.txt: Use INSTALL(PROGRAMS) for rp-thumbnail and rp-config. This ensures that the programs are installed as `chmod +x`. --- src/rp-stub/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/rp-stub/CMakeLists.txt b/src/rp-stub/CMakeLists.txt index 56a1e3667..9765f854a 100644 --- a/src/rp-stub/CMakeLists.txt +++ b/src/rp-stub/CMakeLists.txt @@ -37,12 +37,12 @@ INSTALL(TARGETS rp-stub # CMake doesn't really like this, and in the Debian package build, # it results in errors due to attempting to create a symlink in # the real file system instead of the fakeroot. -INSTALL(FILES "${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/rp-stub" +INSTALL(PROGRAMS "${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/rp-stub" DESTINATION "${DIR_INSTALL_LIBEXEC}" RENAME "rp-thumbnail" COMPONENT "plugin" ) -INSTALL(FILES "${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/rp-stub" +INSTALL(PROGRAMS "${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/rp-stub" DESTINATION "${DIR_INSTALL_EXE}" RENAME "rp-config" COMPONENT "plugin"