diff --git a/CMakeLists.txt b/CMakeLists.txt index a6afd9888..8772538c3 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -239,9 +239,10 @@ install(FILES ${locales} DESTINATION share/musikcube/locales) if (CMAKE_SYSTEM_NAME MATCHES "Linux") if (${ENABLE_SNAP} MATCHES "true") - file(GLOB linux_share_applications "src/musikcube/data/linux/share/applications/musikcube.desktop") - else() + message(STATUS "[snap] enabled = false") file(GLOB linux_share_applications "src/musikcube/data/linux/share/applications/musikcube.snap.desktop") + else() + file(GLOB linux_share_applications "src/musikcube/data/linux/share/applications/musikcube.desktop") endif() install(FILES ${linux_share_applications} DESTINATION share/applications/) file(GLOB linux_share_icons_48 "src/musikcube/data/linux/share/icons/hicolor/48x48/apps/*")