|
|
@ -50,11 +50,15 @@ if( NOT KRB5_FOUND)
|
|
|
|
COMMAND ${KRB5_CONFIG_EXECUTABLE} --libs
|
|
|
|
COMMAND ${KRB5_CONFIG_EXECUTABLE} --libs
|
|
|
|
OUTPUT_VARIABLE KRB5_LIBRARIES
|
|
|
|
OUTPUT_VARIABLE KRB5_LIBRARIES
|
|
|
|
ERROR_VARIABLE KRB5_LIBRARIES
|
|
|
|
ERROR_VARIABLE KRB5_LIBRARIES
|
|
|
|
|
|
|
|
OUTPUT_STRIP_TRAILING_WHITESPACE
|
|
|
|
|
|
|
|
ERROR_STRIP_TRAILING_WHITESPACE
|
|
|
|
)
|
|
|
|
)
|
|
|
|
execute_process(
|
|
|
|
execute_process(
|
|
|
|
COMMAND ${KRB5_CONFIG_EXECUTABLE} --cflags
|
|
|
|
COMMAND ${KRB5_CONFIG_EXECUTABLE} --cflags
|
|
|
|
OUTPUT_VARIABLE KRB5_INCLUDE_DIRS
|
|
|
|
OUTPUT_VARIABLE KRB5_INCLUDE_DIRS
|
|
|
|
ERROR_VARIABLE KRB5_INCLUDE_DIRS
|
|
|
|
ERROR_VARIABLE KRB5_INCLUDE_DIRS
|
|
|
|
|
|
|
|
OUTPUT_STRIP_TRAILING_WHITESPACE
|
|
|
|
|
|
|
|
ERROR_STRIP_TRAILING_WHITESPACE
|
|
|
|
)
|
|
|
|
)
|
|
|
|
if( NOT "${KRB5_LIBRARIES}" STREQUAL "" )
|
|
|
|
if( NOT "${KRB5_LIBRARIES}" STREQUAL "" )
|
|
|
|
set( KRB5_FOUND 1 )
|
|
|
|
set( KRB5_FOUND 1 )
|
|
|
|