From 831f6d88722b8cf1a4168ea1ab6d269c5cc3c1cf Mon Sep 17 00:00:00 2001 From: Alexander Neundorf Date: Tue, 18 Mar 2008 21:08:26 +0000 Subject: -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 --- modules/FindGSSAPI.cmake | 1 + 1 file changed, 1 insertion(+) (limited to 'modules/FindGSSAPI.cmake') 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 -- cgit v1.2.1