diff options
author | Alexander Neundorf <neundorf@kde.org> | 2008-03-14 00:32:40 +0000 |
---|---|---|
committer | Alexander Neundorf <neundorf@kde.org> | 2008-03-14 00:32:40 +0000 |
commit | 9a369a487551b5121de938602c0ec708376435c1 (patch) | |
tree | 4b21651a475ae9f3df9ab33179b27bfb18755c33 | |
parent | 3d670d0aa49bd34c42a3e7872acb337335ef9a6b (diff) | |
download | extra-cmake-modules-9a369a487551b5121de938602c0ec708376435c1.tar.gz extra-cmake-modules-9a369a487551b5121de938602c0ec708376435c1.tar.bz2 |
-revert the last commit, it can be better changed in cmakes FindKDE4.cmake
Alex
svn path=/trunk/KDE/kdelibs/; revision=785426
-rw-r--r-- | modules/FindKDE4Internal.cmake | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/modules/FindKDE4Internal.cmake b/modules/FindKDE4Internal.cmake index cce4679d..3a84c9b2 100644 --- a/modules/FindKDE4Internal.cmake +++ b/modules/FindKDE4Internal.cmake @@ -327,10 +327,7 @@ else (_kdeBootStrapping) # on win32 the install dir is determined on runtime not install time # KDELIBS_INSTALL_DIR and QT_INSTALL_DIR are used in KDELibsDependencies.cmake to setup # kde install paths and library dependencies - # find it relative to the location of this file - get_filename_component(_DIR ${kde_cmake_module_dir} PATH ) - get_filename_component(_DIR ${_DIR} PATH ) - get_filename_component(_DIR ${_DIR} PATH ) + get_filename_component(_DIR ${KDE4_KDECONFIG_EXECUTABLE} PATH ) get_filename_component(KDE4_INSTALL_DIR ${_DIR} PATH ) get_filename_component(_DIR ${QT_QMAKE_EXECUTABLE} PATH ) get_filename_component(QT_INSTALL_DIR ${_DIR} PATH ) |