cmake: Add krb5 library detection.

Add krb5 include directories.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
pull/1/head
Slávek Banko 6 years ago
parent 4a479930bb
commit ea1b35d76f
No known key found for this signature in database
GPG Key ID: 608F5293A04BE668

@ -35,5 +35,13 @@ find_library( HAVE_LIBTDELDAP tdeldap )
if( HAVE_LIBTDELDAP )
set( LIBTDELDAP_LIBRARIES "tdeldap" )
else()
tde_message_fatal( "libtdeldap is requested, but was not found on your system" )
tde_message_fatal( "libtdeldap is required, but was not found on your system" )
endif( )
##### check for krb5
pkg_search_module( KRB5 krb5 )
if( NOT KRB5_FOUND)
tde_message_fatal( "krb5 library is required but not found on your system" )
endif( )

@ -2,8 +2,10 @@ include_directories(
${CMAKE_BINARY_DIR}
${CMAKE_CURRENT_BINARY_DIR}
${CMAKE_CURRENT_SOURCE_DIR}
${TDE_INCLUDE_DIR}/tde
${TDE_INCLUDE_DIR}
${TQT_INCLUDE_DIRS}
${KRB5_INCLUDE_DIRS}
)
link_directories(

@ -2,8 +2,10 @@ include_directories(
${CMAKE_BINARY_DIR}
${CMAKE_CURRENT_BINARY_DIR}
${CMAKE_CURRENT_SOURCE_DIR}
${TDE_INCLUDE_DIR}/tde
${TDE_INCLUDE_DIR}
${TQT_INCLUDE_DIRS}
${KRB5_INCLUDE_DIRS}
)
link_directories(

@ -2,8 +2,10 @@ include_directories(
${CMAKE_BINARY_DIR}
${CMAKE_CURRENT_BINARY_DIR}
${CMAKE_CURRENT_SOURCE_DIR}
${TDE_INCLUDE_DIR}/tde
${TDE_INCLUDE_DIR}
${TQT_INCLUDE_DIRS}
${KRB5_INCLUDE_DIRS}
)
link_directories(

Loading…
Cancel
Save