Add missing libkrb5 include dir to CMake config

This commit is contained in:
Jon Siwek 2019-02-22 14:32:48 -06:00
parent aff3f4b3fd
commit 9345ff346a
3 changed files with 6 additions and 1 deletions

View file

@ -145,6 +145,7 @@ if ( ${CMAKE_SYSTEM_NAME} MATCHES Linux )
find_package(LibKrb5)
if (LIBKRB5_FOUND)
set(USE_KRB5 true)
include_directories(BEFORE ${LibKrb5_INCLUDE_DIR})
list(APPEND OPTLIBS ${LibKrb5_LIBRARY})
endif ()
endif ()