From 024830da0f658f7a1f1521c853ef0a5d5dfa9f47 Mon Sep 17 00:00:00 2001 From: casey langen Date: Sat, 11 Apr 2020 13:59:32 -0700 Subject: [PATCH] Computers are too hard --- CMakeLists.txt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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/*")