Always install 128-apps-snore.png on unix

This commit is contained in:
Patrick von Reth 2015-08-24 18:34:27 +02:00
parent 9dcad1416c
commit 8e70d20a73
2 changed files with 5 additions and 1 deletions

View File

@ -5,7 +5,6 @@ target_link_libraries( snorenotify Snore::Libsnore)
install(TARGETS snorenotify ${KDE_INSTALL_TARGETS_DEFAULT_ARGS})
if(UNIX)
ecm_install_icons(ICONS ${PROJECT_SOURCE_DIR}/data/128-apps-snore.png DESTINATION ${KDE_INSTALL_ICONDIR})
configure_file("${CMAKE_CURRENT_SOURCE_DIR}/snorenotify.desktop.in" "${CMAKE_CURRENT_BINARY_DIR}/snorenotify.desktop" @ONLY)
install(FILES "${CMAKE_CURRENT_BINARY_DIR}/snorenotify.desktop" DESTINATION ${KDE_INSTALL_APPDIR})
endif()

View File

@ -104,4 +104,9 @@ install(FILES
${CMAKE_CURRENT_BINARY_DIR}/Libsnore${SNORE_CamelCase_SUFFIX}ConfigVersion.cmake
DESTINATION
${KDE_INSTALL_CMAKEPACKAGEDIR}/libsnore${SNORE_CamelCase_SUFFIX})
if(UNIX)
ecm_install_icons(ICONS ${PROJECT_SOURCE_DIR}/data/128-apps-snore.png DESTINATION ${KDE_INSTALL_ICONDIR})
endif()