diff options
author | Andreas Schneider <asn@cryptomilk.org> | 2013-07-13 15:46:23 +0200 |
---|---|---|
committer | Andreas Schneider <asn@cryptomilk.org> | 2013-07-13 15:48:49 +0200 |
commit | 1663917f71317587425564298722740afec5ab47 (patch) | |
tree | 3cec30c5611bdce9668b77d2aee9e595bad18055 /CMakeLists.txt | |
parent | 9bbbccc0e778d26600e0f3a891c164a881a805cc (diff) | |
download | libssh-1663917f71317587425564298722740afec5ab47.tar.gz libssh-1663917f71317587425564298722740afec5ab47.tar.xz libssh-1663917f71317587425564298722740afec5ab47.zip |
cmake: Make GSSAPI optional.
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 28b2c0e7..b56a2ad4 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -67,10 +67,9 @@ endif(WITH_GCRYPT) set(CMAKE_THREAD_PREFER_PTHREADS ON) find_package(Threads) -find_package(GSSAPI) -if (GSSAPI_LIBS) - set (WITH_GSSAPI "ON") -endif (GSSAPI_LIBS) +if (WITH_GSSAPI) + find_package(GSSAPI REQUIRED) +endif (WITH_GSSAPI) # config.h checks include(ConfigureChecks.cmake) |