aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Neundorf <neundorf@kde.org>2008-03-18 21:08:26 +0000
committerAlexander Neundorf <neundorf@kde.org>2008-03-18 21:08:26 +0000
commit831f6d88722b8cf1a4168ea1ab6d269c5cc3c1cf (patch)
tree45e9f414561b1a41f1b9ad7e5802be657c39a75f
parent69987529b215f557c2088004d59d6130b7152155 (diff)
downloadextra-cmake-modules-831f6d88722b8cf1a4168ea1ab6d269c5cc3c1cf.tar.gz
extra-cmake-modules-831f6d88722b8cf1a4168ea1ab6d269c5cc3c1cf.tar.bz2
-help cross compiling, search the krb5-config executable only in the target
environment, the one from the build host isn't the right one Alex svn path=/trunk/KDE/kdelibs/; revision=787239
-rw-r--r--modules/FindGSSAPI.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/FindGSSAPI.cmake b/modules/FindGSSAPI.cmake
index 90e803ea..2ae17cd6 100644
--- a/modules/FindGSSAPI.cmake
+++ b/modules/FindGSSAPI.cmake
@@ -21,6 +21,7 @@ ELSE(GSSAPI_LIBS AND GSSAPI_FLAVOR)
FIND_PROGRAM(KRB5_CONFIG NAMES krb5-config PATHS
/opt/local/bin
+ ONLY_CMAKE_FIND_ROOT_PATH # this is required when cross compiling with cmake 2.6 and ignored with cmake 2.4, Alex
)
#reset vars