diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index a37b11a..935ac2a 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -161,31 +161,31 @@ elseif(APPLE) # Set additional options for the OSX bundle. set(CPACK_BUNDLE_NAME ${PROJECT_NAME}) set(CPACK_BUNDLE_PLIST $/Info.plist) - set(CPACK_BUNDLE_ICON ${QTK_OSX_ICONS}) + set(CPACK_BUNDLE_ICON "${QTK_OSX_ICONS}") else(UNIX) # Linux # Install icons for qtk. - install(FILES ${QTK_RESOURCES}/icons/linux/kilroy-16.png + install(FILES "${QTK_RESOURCES}/icons/linux/kilroy-16.png" DESTINATION /usr/share/icons/hicolor/16x16/apps RENAME qtk.png) - install(FILES ${QTK_RESOURCES}/icons/linux/kilroy-32.png + install(FILES "${QTK_RESOURCES}/icons/linux/kilroy-32.png" DESTINATION /usr/share/icons/hicolor/32x32/apps RENAME qtk.png) - install(FILES ${QTK_RESOURCES}/icons/linux/kilroy-48.png + install(FILES "${QTK_RESOURCES}/icons/linux/kilroy-48.png" DESTINATION /usr/share/icons/hicolor/48x48/apps RENAME qtk.png) - install(FILES ${QTK_RESOURCES}/icons/linux/kilroy-64.png + install(FILES "${QTK_RESOURCES}/icons/linux/kilroy-64.png" DESTINATION /usr/share/icons/hicolor/64x64/apps RENAME qtk.png) - install(FILES ${QTK_RESOURCES}/icons/linux/kilroy-128.png + install(FILES "${QTK_RESOURCES}/icons/linux/kilroy-128.png" DESTINATION /usr/share/icons/hicolor/128x128/apps RENAME qtk.png) - install(FILES ${QTK_RESOURCES}/icons/linux/kilroy-256.png + install(FILES "${QTK_RESOURCES}/icons/linux/kilroy-256.png" DESTINATION /usr/share/icons/hicolor/256x256/apps RENAME qtk.png) # Install the desktop file for qtk. - install(FILES ${QTK_RESOURCES}/qtk.desktop + install(FILES "${QTK_RESOURCES}/qtk.desktop" DESTINATION /usr/share/applications) # Set additional options for the debian APT package. diff --git a/src/app/CMakeLists.txt b/src/app/CMakeLists.txt index 4abd1e5..41f9765 100644 --- a/src/app/CMakeLists.txt +++ b/src/app/CMakeLists.txt @@ -64,7 +64,7 @@ elseif(APPLE) qtk_gui PROPERTIES MACOSX_BUNDLE TRUE MACOSX_BUNDLE_BUNDLE_NAME Qtk - MACOSX_BUNDLE_ICON_FILE ${QTK_OSX_ICONS} + MACOSX_BUNDLE_ICON_FILE "${QTK_OSX_ICONS}" MACOSX_BUNDLE_GUI_IDENTIFIER ${CMAKE_PROJECT_NAME} MACOSX_BUNDLE_INFO_STRING ${CMAKE_PROJECT_DESCRIPTION} MACOSX_BUNDLE_COPYRIGHT ${QTK_COPYRIGHT}