From 2b92e6cbff56dd8ddaed72300b4cdee15d49d288 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Wed, 5 Jun 2019 01:11:35 +0200 Subject: [PATCH] cmake: Fix detection of older Heimdal versions. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Slávek Banko --- ConfigureChecks.cmake | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ConfigureChecks.cmake b/ConfigureChecks.cmake index ea2b03d..717147f 100644 --- a/ConfigureChecks.cmake +++ b/ConfigureChecks.cmake @@ -50,11 +50,15 @@ if( NOT KRB5_FOUND) COMMAND ${KRB5_CONFIG_EXECUTABLE} --libs OUTPUT_VARIABLE KRB5_LIBRARIES ERROR_VARIABLE KRB5_LIBRARIES + OUTPUT_STRIP_TRAILING_WHITESPACE + ERROR_STRIP_TRAILING_WHITESPACE ) execute_process( COMMAND ${KRB5_CONFIG_EXECUTABLE} --cflags OUTPUT_VARIABLE KRB5_INCLUDE_DIRS ERROR_VARIABLE KRB5_INCLUDE_DIRS + OUTPUT_STRIP_TRAILING_WHITESPACE + ERROR_STRIP_TRAILING_WHITESPACE ) if( NOT "${KRB5_LIBRARIES}" STREQUAL "" ) set( KRB5_FOUND 1 )