Computers are too hard

This commit is contained in:
casey langen 2020-04-11 13:59:32 -07:00
parent 0461e59b3d
commit 024830da0f

View File

@ -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/*")