summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorAlex Neundorf <neundorf@kde.org>2010-05-10 22:31:56 (GMT)
committerAlex Neundorf <neundorf@kde.org>2010-05-10 22:32:27 (GMT)
commit50506090c83c30469e9b76b2782d2f9f09bbee89 (patch)
tree136d8eda5dba3e3744b631d4841f8ad2c98e8b9c /Modules
parent601ee1f735f3d3d7713af734a18c04bfeff6eef2 (diff)
downloadCMake-50506090c83c30469e9b76b2782d2f9f09bbee89.zip
CMake-50506090c83c30469e9b76b2782d2f9f09bbee89.tar.gz
CMake-50506090c83c30469e9b76b2782d2f9f09bbee89.tar.bz2
-use the HINTS keyword for finding FindKDE4Internal.cmake
Alex
Diffstat (limited to 'Modules')
-rw-r--r--Modules/FindKDE4.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/FindKDE4.cmake b/Modules/FindKDE4.cmake
index 12fd304..42a1530 100644
--- a/Modules/FindKDE4.cmake
+++ b/Modules/FindKDE4.cmake
@@ -73,7 +73,7 @@ IF(NOT KDE4_DATA_DIR)
EXECUTE_PROCESS(COMMAND "${KDE4_KDECONFIG_EXECUTABLE}" --path data OUTPUT_VARIABLE _data_DIR ERROR_QUIET OUTPUT_STRIP_TRAILING_WHITESPACE)
FILE(TO_CMAKE_PATH "${_data_DIR}" _data_DIR)
# then check the data dirs for FindKDE4Internal.cmake
- FIND_PATH(KDE4_DATA_DIR cmake/modules/FindKDE4Internal.cmake ${_data_DIR})
+ FIND_PATH(KDE4_DATA_DIR cmake/modules/FindKDE4Internal.cmake HINTS ${_data_DIR})
ENDIF(KDE4_KDECONFIG_EXECUTABLE)
ENDIF(CMAKE_CROSSCOMPILING)
ENDIF(NOT KDE4_DATA_DIR)