From 4ec78fa5df29bdf4da9e258aa816e8fcc2063d41 Mon Sep 17 00:00:00 2001 From: Montel Laurent Date: Tue, 7 Oct 2014 13:15:02 +0200 Subject: [PATCH] Use modern macro --- shell/CMakeLists.txt | 2 +- ui/data/icons/CMakeLists.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/shell/CMakeLists.txt b/shell/CMakeLists.txt index 6b16fe52e..a4791353b 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 106884f43..630884f1d 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} )