aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAris Adamantiadis <aris@0xbadc0de.be>2013-02-20 23:15:55 +0100
committerAndreas Schneider <asn@cryptomilk.org>2013-07-13 14:19:23 +0200
commit6c26a23cf4cecc2dd381820451b1b9472f98a12f (patch)
tree4ea1339f894330ee2fd1089f238ab990611e0e84
parentb69c26ad72fcd5b5c31966194bd09ca30e1e8939 (diff)
downloadlibssh-6c26a23cf4cecc2dd381820451b1b9472f98a12f.tar.gz
libssh-6c26a23cf4cecc2dd381820451b1b9472f98a12f.tar.xz
libssh-6c26a23cf4cecc2dd381820451b1b9472f98a12f.zip
build: build with gssapi if detected
Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
-rw-r--r--src/CMakeLists.txt7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 76ec5bf8..fc01df3a 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -64,6 +64,13 @@ if (WITH_ZLIB)
)
endif (WITH_ZLIB)
+if (GSSAPI_LIBS)
+ set(LIBSSH_LINK_LIBRARIES
+ ${LIBSSH_LINK_LIBRARIES}
+ ${GSSAPI_LIBS}
+ )
+endif (GSSAPI_LIBS)
+
set(LIBSSH_LINK_LIBRARIES
${LIBSSH_LINK_LIBRARIES}
CACHE INTERNAL "libssh link libraries"