Browse Source

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 9 months ago
parent
commit
ea1b35d76f
Signed by: Slávek Banko <slavek.banko@axis.cz> GPG Key ID: 608F5293A04BE668
4 changed files with 15 additions and 1 deletions
  1. 9
    1
      ConfigureChecks.cmake
  2. 2
    0
      cert-updater/CMakeLists.txt
  3. 2
    0
      cmdline/CMakeLists.txt
  4. 2
    0
      src/CMakeLists.txt

+ 9
- 1
ConfigureChecks.cmake View File

@@ -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
- 0
cert-updater/CMakeLists.txt View File

@@ -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
- 0
cmdline/CMakeLists.txt View File

@@ -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
- 0
src/CMakeLists.txt View File

@@ -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