aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorAndreas Schneider <asn@cryptomilk.org>2013-07-24 20:02:49 +0200
committerAndreas Schneider <asn@cryptomilk.org>2013-07-24 20:48:14 +0200
commit5ba88f01e8a610bfc0301763ff889415cbc9ab09 (patch)
treebacb78d153872d5444110a739e44d9cdc7add24f /examples
parent6a83f9a044379057c5260de2c421abce5ef873a8 (diff)
downloadlibssh-5ba88f01e8a610bfc0301763ff889415cbc9ab09.tar.gz
libssh-5ba88f01e8a610bfc0301763ff889415cbc9ab09.tar.xz
libssh-5ba88f01e8a610bfc0301763ff889415cbc9ab09.zip
cmake: Rewrote FindGSSAPI.cmake.
Diffstat (limited to 'examples')
-rw-r--r--examples/CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/CMakeLists.txt b/examples/CMakeLists.txt
index a5210d68..fc1c9341 100644
--- a/examples/CMakeLists.txt
+++ b/examples/CMakeLists.txt
@@ -44,13 +44,13 @@ if (UNIX AND NOT WIN32)
add_executable(samplesshd samplesshd.c)
target_link_libraries(samplesshd ${LIBSSH_SHARED_LIBRARY} ${ARGP_LIBRARIES})
- if (WITH_GSSAPI)
+ if (WITH_GSSAPI AND GSSAPI_FOUND)
add_executable(samplesshd-cb samplesshd-cb.c)
target_link_libraries(samplesshd-cb ${LIBSSH_SHARED_LIBRARY} ${ARGP_LIBRARIES})
add_executable(proxy proxy.c)
target_link_libraries(proxy ${LIBSSH_SHARED_LIBRARY} ${ARGP_LIBRARIES})
- endif (WITH_GSSAPI)
+ endif (WITH_GSSAPI AND GSSAPI_FOUND)
add_executable(samplesshd-kbdint samplesshd-kbdint.c)
target_link_libraries(samplesshd-kbdint ${LIBSSH_SHARED_LIBRARY} ${ARGP_LIBRARIES})