diff --git a/src/daemon/CMakeLists.txt b/src/daemon/CMakeLists.txt index 9bb227b..81071cb 100644 --- a/src/daemon/CMakeLists.txt +++ b/src/daemon/CMakeLists.txt @@ -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() diff --git a/src/libsnore/CMakeLists.txt b/src/libsnore/CMakeLists.txt index 487b3ae..32d6ec2 100644 --- a/src/libsnore/CMakeLists.txt +++ b/src/libsnore/CMakeLists.txt @@ -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() +