diff --git a/src/apps/queuetool/CMakeLists.txt b/src/apps/queuetool/CMakeLists.txt index 71cb14c..1ea03b3 100644 --- a/src/apps/queuetool/CMakeLists.txt +++ b/src/apps/queuetool/CMakeLists.txt @@ -1,2 +1,2 @@ configure_file(${CMAKE_CURRENT_SOURCE_DIR}/bongo-queuetool ${CMAKE_CURRENT_BINARY_DIR}/bongo-queuetool) -install(FILES ${CMAKE_CURRENT_BINARY_DIR}/bongo-queuetool DESTINATION ${SBIN_INSTALL_DIR} PERMISSIONS WORLD_EXECUTE) +install(PROGRAMS ${CMAKE_CURRENT_BINARY_DIR}/bongo-queuetool DESTINATION ${SBIN_INSTALL_DIR}) diff --git a/src/apps/storetool/CMakeLists.txt b/src/apps/storetool/CMakeLists.txt index bcc9e5b..65ec562 100644 --- a/src/apps/storetool/CMakeLists.txt +++ b/src/apps/storetool/CMakeLists.txt @@ -5,4 +5,5 @@ install(DIRECTORY ./bongo ) configure_file(${CMAKE_CURRENT_SOURCE_DIR}/bongo-storetool.py ${CMAKE_CURRENT_BINARY_DIR}/bongo-storetool) -install(FILES ${CMAKE_CURRENT_BINARY_DIR}/bongo-storetool DESTINATION ${SBIN_INSTALL_DIR} PERMISSIONS WORLD_EXECUTE) +install(PROGRAMS ${CMAKE_CURRENT_BINARY_DIR}/bongo-storetool DESTINATION +${SBIN_INSTALL_DIR})