aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Faure <faure@kde.org>2007-05-21 14:13:18 +0000
committerDavid Faure <faure@kde.org>2007-05-21 14:13:18 +0000
commit8bcb43899b46f7a8b179ebf1f42447abb877166a (patch)
tree7c228eb4bec761e315b273adf815688ffbfbb3d9
parentad8b13ba068d2f57796631684fa8c899a1533705 (diff)
downloadextra-cmake-modules-8bcb43899b46f7a8b179ebf1f42447abb877166a.tar.gz
extra-cmake-modules-8bcb43899b46f7a8b179ebf1f42447abb877166a.tar.bz2
Revert - there's no such var; the proper fix for this looks a bit involved and needs testing; let's get Dirk going meanwhile.
svn path=/trunk/KDE/kdelibs/; revision=666995
-rw-r--r--modules/FindKDE4Internal.cmake3
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/FindKDE4Internal.cmake b/modules/FindKDE4Internal.cmake
index 5fd32464..7cd499c3 100644
--- a/modules/FindKDE4Internal.cmake
+++ b/modules/FindKDE4Internal.cmake
@@ -487,7 +487,8 @@ else (_kdeBootStrapping)
get_filename_component(KDE4_LIB_DIR ${KDE4_KDECORE_LIBRARY} PATH )
# kpassworddialog.h is new with KDE4
- find_path(KDE4_INCLUDE_DIR kpassworddialog.h ${KDE4_DATA_INSTALL_DIR} NO_DEFAULT_PATH )
+ # ###### TODO: this is the wrong path to look into. We need the KDE4 include dir, not the one where the current module will be installed
+ find_path(KDE4_INCLUDE_DIR kpassworddialog.h ${INCLUDE_INSTALL_DIR} NO_DEFAULT_PATH )
# at first look in LIBEXEC_INSTALL_DIR and no default paths,
# if this didn't succeed, the second call makes cmake search again, but in the standard paths