aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLaurent Montel <montel@kde.org>2006-02-01 17:28:32 +0000
committerLaurent Montel <montel@kde.org>2006-02-01 17:28:32 +0000
commit393c61e5f8f741fdfb8b1f8e079b64d7a81bf262 (patch)
tree3be54b723c29cd00abddb9a73f42714b9e36a29a
parente508911ab6bf5fea45a4189e4742e831e97cb2c7 (diff)
downloadextra-cmake-modules-393c61e5f8f741fdfb8b1f8e079b64d7a81bf262.tar.gz
extra-cmake-modules-393c61e5f8f741fdfb8b1f8e079b64d7a81bf262.tar.bz2
Define "KDE4_SYSCONF_DIR" which is '/etc' by default
but now we can redefine it svn path=/trunk/KDE/kdelibs/; revision=504653
-rw-r--r--modules/FindKDE4.cmake4
1 files changed, 4 insertions, 0 deletions
diff --git a/modules/FindKDE4.cmake b/modules/FindKDE4.cmake
index 7cfe9c14..0db4b226 100644
--- a/modules/FindKDE4.cmake
+++ b/modules/FindKDE4.cmake
@@ -110,6 +110,7 @@ SET(KDE4_DEFINITIONS ${KDE4_DEFINITIONS} -DQT3_SUPPORT -DQT_NO_STL -DQT_NO_CAST_
SET(KDE4_DIR ${CMAKE_INSTALL_PREFIX})
+SET(KDE4_SYSCONF_DIR ${CMAKE_INSTALL_SYSCONF})
SET(KDE4_APPS_DIR /share/applnk)
SET(KDE4_CONFIG_DIR /share/config)
SET(KDE4_DATA_DIR /share/apps)
@@ -128,6 +129,9 @@ SET(KDE4_WALLPAPER_DIR /share/wallpapers)
SET(XDG_APPS_DIR /share/applications/kde)
SET(XDG_DIRECTORY_DIR /share/desktop-directories)
+IF(NOT KDE4_SYSCONF_DIR)
+ SET(KDE4_SYSCONF_DIR /etc)
+ENDIF(NOT KDE4_SYSCONF_DIR)
#now try to find some kde stuff