aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/CMakeLists.txt15
1 files changed, 10 insertions, 5 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index d4949c3a..06b239fa 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -64,12 +64,17 @@ if (WITH_ZLIB)
)
endif (WITH_ZLIB)
-if (WITH_GSSAPI AND GSSAPI_LIBS)
+if (WITH_GSSAPI AND GSSAPI_FOUND)
+ set(LIBSSH_PRIVATE_INCLUDE_DIRS
+ ${LIBSSH_PRIVATE_INCLUDE_DIRS}
+ ${GSSAPI_INCLUDE_DIR}
+ )
+
set(LIBSSH_LINK_LIBRARIES
${LIBSSH_LINK_LIBRARIES}
- ${GSSAPI_LIBS}
+ ${GSSAPI_LIBRARIES}
)
-endif (WITH_GSSAPI AND GSSAPI_LIBS)
+endif (WITH_GSSAPI AND GSSAPI_FOUND)
set(LIBSSH_LINK_LIBRARIES
${LIBSSH_LINK_LIBRARIES}
@@ -180,12 +185,12 @@ if (WITH_ZLIB)
)
endif(WITH_ZLIB)
-if (WITH_GSSAPI AND GSSAPI_LIBS)
+if (WITH_GSSAPI AND GSSAPI_FOUND)
set(libssh_SRCS
${libssh_SRCS}
gssapi.c
)
-endif (WITH_GSSAPI AND GSSAPI_LIBS)
+endif (WITH_GSSAPI AND GSSAPI_FOUND)
include_directories(
${LIBSSH_PUBLIC_INCLUDE_DIRS}