summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMontel Laurent <montel@kde.org>2014-10-07 11:15:02 (GMT)
committerMontel Laurent <montel@kde.org>2014-10-07 11:16:16 (GMT)
commit4ec78fa5df29bdf4da9e258aa816e8fcc2063d41 (patch)
tree8092349b4e1c90088dafeb0268207198b9c0772f
parentd852a7bee096850a698c79dbb41a38d47332a442 (diff)
Use modern macro
-rw-r--r--shell/CMakeLists.txt2
-rw-r--r--ui/data/icons/CMakeLists.txt2
2 files changed, 2 insertions, 2 deletions
diff --git a/shell/CMakeLists.txt b/shell/CMakeLists.txt
index 6b16fe5..a479135 100644
--- a/shell/CMakeLists.txt
+++ b/shell/CMakeLists.txt
@@ -22,7 +22,7 @@ set(okular_SRCS
kde4_add_app_icon(okular_SRCS "${CMAKE_CURRENT_SOURCE_DIR}/../ui/data/icons/hi*-apps-okular.png")
-kde4_add_executable(okular ${okular_SRCS})
+add_executable(okular ${okular_SRCS})
target_link_libraries(okular KF5::Parts KF5::WindowSystem KF5::KDELibs4Support)
diff --git a/ui/data/icons/CMakeLists.txt b/ui/data/icons/CMakeLists.txt
index 106884f..630884f 100644
--- a/ui/data/icons/CMakeLists.txt
+++ b/ui/data/icons/CMakeLists.txt
@@ -1 +1 @@
-kde4_install_icons( ${ICON_INSTALL_DIR} )
+ecm_install_icons( ICONS hi128-apps-okular.png hi16-apps-okular.png hi22-apps-okular.png hi32-apps-okular.png hi48-apps-okular.png hi64-apps-okular.png DESTINATION ${ICON_INSTALL_DIR} )