From 23687aab9c367ac600e03d7ab4dbe1bc644ce359 Mon Sep 17 00:00:00 2001 From: David Faure Date: Mon, 21 May 2007 14:15:06 +0000 Subject: Ah! KDE4_INCLUDE_INSTALL_DIR is defined by KDELibsDependencies.cmake svn path=/trunk/KDE/kdelibs/; revision=666996 --- modules/FindKDE4Internal.cmake | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'modules') diff --git a/modules/FindKDE4Internal.cmake b/modules/FindKDE4Internal.cmake index 7cd499c3..9885774f 100644 --- a/modules/FindKDE4Internal.cmake +++ b/modules/FindKDE4Internal.cmake @@ -487,8 +487,8 @@ else (_kdeBootStrapping) get_filename_component(KDE4_LIB_DIR ${KDE4_KDECORE_LIBRARY} PATH ) # kpassworddialog.h is new with KDE4 - # ###### 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 ) + # KDE4_INCLUDE_INSTALL_DIR is defined by KDELibsDependencies.cmake + find_path(KDE4_INCLUDE_DIR kpassworddialog.h ${KDE4_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 -- cgit v1.2.1