summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuigi Toscano <[email protected]>2017-03-12 11:22:09 +0100
committerLuigi Toscano <[email protected]>2017-03-12 11:22:09 +0100
commitbc6e9fedae27937bfc8f8b32cb78d161cccd8a60 (patch)
tree5b4aa0ad5863cfd04d9436c40f5d5161f76a629a
parent57136118a86e89b02637116bd3b6d0aa9975b280 (diff)
Port kde4_add_app_icon to ecm_add_app_icon
The renaming of the icons in the previous commit was a required step for this change.
-rw-r--r--src/CMakeLists.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index d0e921e..4627e82 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -25,7 +25,8 @@ set(ksudoku_SRCS
generator/mathdokugenerator.cpp
)
-kde4_add_app_icon(ksudoku_SRCS "${KDE4_ICON_INSTALL_DIR}/oxygen/*/apps/ksudoku.png")
+file(GLOB ICONS_SRCS "${CMAKE_CURRENT_SOURCE_DIR}/*-apps-ksudoku.png")
+ecm_add_app_icon(ksudoku_SRCS ICONS ${ICONS_SRCS})
add_executable(ksudoku ${ksudoku_SRCS})
target_link_libraries(ksudoku