More snap-related cmake tweaks.

This commit is contained in:
casey langen 2020-04-07 00:48:32 -07:00
parent fac1364a00
commit 306c33a83c

View File

@ -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