summaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2016-11-21 15:56:12 +0100
committerMilan Crha <mcrha@redhat.com>2016-11-21 15:56:12 +0100
commit54a8c5362c4cadc74fbbaa105c1cc38327ee4b62 (patch)
treeb8abcb3cd77e63bb0f82c5c34a20939d3ac192fe /cmake
parent0790a9d93f39439b9f84986001e1368c4490d644 (diff)
downloadevolution-data-server-54a8c5362c4cadc74fbbaa105c1cc38327ee4b62.tar.gz
Set also HAVE_KRB5 when found Kerberos 5 with pkg-config
That will make the related code compile and GSSAPI available for Camel.
Diffstat (limited to 'cmake')
-rw-r--r--cmake/modules/FindKRB5.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmake/modules/FindKRB5.cmake b/cmake/modules/FindKRB5.cmake
index 2447df55e..2f34fb6d1 100644
--- a/cmake/modules/FindKRB5.cmake
+++ b/cmake/modules/FindKRB5.cmake
@@ -29,6 +29,7 @@ if(KRB5_FOUND)
if(KRB5_VENDOR STREQUAL "MIT")
message(STATUS "Using MIT Kerberos 5 (found by pkg-config)")
set(WITH_KRB5 ON)
+ set(HAVE_KRB5 ON)
set(HAVE_MIT_KRB5 ON)
return()
endif(KRB5_VENDOR STREQUAL "MIT")