aboutsummaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorAlexander Neundorf <neundorf@kde.org>2009-06-28 08:12:43 +0000
committerAlexander Neundorf <neundorf@kde.org>2009-06-28 08:12:43 +0000
commit0ad585886909c360d359842c49d109de69cda220 (patch)
tree1489fcaea54f5a6826d6b225d679ec50f8942994 /modules
parentb27d904b1e3e07e9e61217b6575ef148be8d8f53 (diff)
downloadextra-cmake-modules-0ad585886909c360d359842c49d109de69cda220.tar.gz
extra-cmake-modules-0ad585886909c360d359842c49d109de69cda220.tar.bz2
-fix getting the correct location for the respective configuration, (the resulting name was just "LOCATION_", which is unknown to cmake, so it returns just the information for any configuration it finds
Thanks to Aleix for finding the issue Alex svn path=/trunk/KDE/kdelibs/; revision=988522
Diffstat (limited to 'modules')
-rw-r--r--modules/FindKDE4Internal.cmake6
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/FindKDE4Internal.cmake b/modules/FindKDE4Internal.cmake
index e06789c5..ac9c3542 100644
--- a/modules/FindKDE4Internal.cmake
+++ b/modules/FindKDE4Internal.cmake
@@ -513,9 +513,9 @@ else (_kdeBootStrapping)
get_target_property(_importedConfigurations ${KDE4_TARGET_PREFIX}kconfig_compiler IMPORTED_CONFIGURATIONS )
list(GET _importedConfigurations 0 _firstConfig)
- get_target_property(KDE4_KCFGC_EXECUTABLE ${KDE4_TARGET_PREFIX}kconfig_compiler LOCATION_${firstConfig})
- get_target_property(KDE4_MEINPROC_EXECUTABLE ${KDE4_TARGET_PREFIX}meinproc4 LOCATION_${firstConfig})
- get_target_property(KDE4_MAKEKDEWIDGETS_EXECUTABLE ${KDE4_TARGET_PREFIX}makekdewidgets LOCATION_${firstConfig})
+ get_target_property(_KDE4_KCFGC_EXECUTABLE ${KDE4_TARGET_PREFIX}kconfig_compiler LOCATION_${_firstConfig})
+ get_target_property(KDE4_MEINPROC_EXECUTABLE ${KDE4_TARGET_PREFIX}meinproc4 LOCATION_${_firstConfig})
+ get_target_property(KDE4_MAKEKDEWIDGETS_EXECUTABLE ${KDE4_TARGET_PREFIX}makekdewidgets LOCATION_${_firstConfig})
# allow searching cmake modules in all given kde install locations (KDEDIRS based)
execute_process(COMMAND "${KDE4_KDECONFIG_EXECUTABLE}" --path data OUTPUT_VARIABLE _data_DIR ERROR_QUIET OUTPUT_STRIP_TRAILING_WHITESPACE)