aboutsummaryrefslogtreecommitdiffstats
path: root/cmake/modules
diff options
context:
space:
mode:
authorPascal Quantin <pascal@wireshark.org>2021-08-10 17:46:40 +0200
committerPascal Quantin <pascal@wireshark.org>2021-08-10 17:46:40 +0200
commit1b61474d9d6f9a9f5855a85323f343a5a8edbd0f (patch)
tree0fd90bcde80ebfad1adb04aae4410dfbd52ba1a4 /cmake/modules
parent3c5168c874c7a9cf60ae3eaa44fb982352f2628d (diff)
CMake: include CheckFunctionExists in FindKERBEROS.cmake
Diffstat (limited to 'cmake/modules')
-rw-r--r--cmake/modules/FindKERBEROS.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmake/modules/FindKERBEROS.cmake b/cmake/modules/FindKERBEROS.cmake
index 38cd55a3ab..8a3c2c7625 100644
--- a/cmake/modules/FindKERBEROS.cmake
+++ b/cmake/modules/FindKERBEROS.cmake
@@ -84,6 +84,7 @@ endif()
# Try to detect the installed Kerberos vendor, assume MIT if it was not Heimdal.
if(KERBEROS_FOUND)
include(CheckSymbolExists)
+ include(CheckFunctionExists)
set(CMAKE_REQUIRED_INCLUDES ${KERBEROS_INCLUDE_DIRS})
set(CMAKE_REQUIRED_LIBRARIES ${KERBEROS_LIBRARIES})
#see also HAVE_HEIMDAL_KERBEROS in cmakeconfig.h.in