From 306c33a83c960a1f606017c8627296abefc8f9af Mon Sep 17 00:00:00 2001 From: casey langen Date: Tue, 7 Apr 2020 00:48:32 -0700 Subject: [PATCH] More snap-related cmake tweaks. --- CMakeLists.txt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 01b4d0605..c9e7fc9ad 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -264,16 +264,16 @@ install( # snap wrapper scripts, if applicable if (${SNAP_ENABLED} MATCHES "true") install( - FILES "${CMAKE_CURRENT_BINARY_DIR}/src/musikcube/musikcube.snap" - DESTINATION share/musikcube.snap + FILES "${CMAKE_SOURCE_DIR}/src/musikcube/musikcube.snap" + DESTINATION share/ PERMISSIONS OWNER_EXECUTE OWNER_READ OWNER_WRITE GROUP_EXECUTE GROUP_READ GROUP_WRITE WORLD_EXECUTE WORLD_READ) install( - FILES "${CMAKE_CURRENT_BINARY_DIR}/src/musikcubed/musikcubed.snap" - DESTINATION share/musikcubed.snap + FILES "${CMAKE_SOURCE_DIR}/src/musikcubed/musikcubed.snap" + DESTINATION share/ PERMISSIONS OWNER_EXECUTE OWNER_READ OWNER_WRITE GROUP_EXECUTE GROUP_READ GROUP_WRITE