summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMontel Laurent <[email protected]>2015-03-03 23:12:03 +0100
committerMontel Laurent <[email protected]>2015-03-03 23:12:03 +0100
commitd646654ce41778707f8c3568fc16152aedf9156f (patch)
treed1d17e8b8a2019c0741456422d64c688eecd2eb0
parentb9506832cad834085e2ac44573f3e2f3b19e89f1 (diff)
Use new KDE_ macto
-rw-r--r--CMakeLists.txt8
-rw-r--r--doc/CMakeLists.txt2
2 files changed, 5 insertions, 5 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 2276d23..9b2b930 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -3,7 +3,7 @@ project(kcharselect)
cmake_minimum_required (VERSION 2.8.12 FATAL_ERROR)
set (QT_MIN_VERSION "5.2.0")
-find_package (ECM 1.3.0 REQUIRED NO_MODULE)
+find_package (ECM 1.7.0 REQUIRED NO_MODULE)
set (CMAKE_MODULE_PATH ${ECM_MODULE_PATH})
add_definitions(-DTRANSLATION_DOMAIN="kcharselect")
@@ -34,12 +34,12 @@ add_executable(kcharselect ${kcharselect_SRCS})
target_link_libraries(kcharselect KF5::I18n KF5::WidgetsAddons KF5::XmlGui )
-install(TARGETS kcharselect ${INSTALL_TARGETS_DEFAULT_ARGS} )
+install(TARGETS kcharselect ${KDE_INSTALL_TARGETS_DEFAULT_ARGS} )
########### install files ###############
-install( PROGRAMS org.kde.KCharSelect.desktop DESTINATION ${XDG_APPS_INSTALL_DIR})
-install( FILES kcharselectui.rc DESTINATION ${KXMLGUI_INSTALL_DIR}/kcharselect)
+install( PROGRAMS org.kde.KCharSelect.desktop DESTINATION ${KDE_INSTALL_APPDIR})
+install( FILES kcharselectui.rc DESTINATION ${KDE_INSTALL_KXMLGUI5DIR}/kcharselect)
add_subdirectory(doc)
feature_summary(WHAT ALL INCLUDE_QUIET_PACKAGES FATAL_ON_MISSING_REQUIRED_PACKAGES)
diff --git a/doc/CMakeLists.txt b/doc/CMakeLists.txt
index dcdaa42..1aaa2e9 100644
--- a/doc/CMakeLists.txt
+++ b/doc/CMakeLists.txt
@@ -1,4 +1,4 @@
########### install files ###############
#
#
-kdoctools_create_handbook(index.docbook INSTALL_DESTINATION ${HTML_INSTALL_DIR}/en SUBDIR kcharselect)
+kdoctools_create_handbook(index.docbook INSTALL_DESTINATION ${KDE_INSTALL_DOCBUNDLEDIR}/en SUBDIR kcharselect)