summaryrefslogtreecommitdiff
path: root/CMake
diff options
context:
space:
mode:
authorRolf Eike Beer <eb@emlix.com>2019-08-29 14:55:24 +0200
committerDaniel Stenberg <daniel@haxx.se>2019-08-31 11:40:10 +0200
commitcd68dfe8311c42f088ef082bfd90aeae65b9f589 (patch)
tree82fab681c3b0bd259de40dad27897d924b590d16 /CMake
parentd05cee4b3ad9cc0fb787ba2749faf4329f24260b (diff)
downloadcurl-cd68dfe8311c42f088ef082bfd90aeae65b9f589.tar.gz
CMake: remove needless newlines at end of gss variables
Diffstat (limited to 'CMake')
-rw-r--r--CMake/FindGSS.cmake4
1 files changed, 4 insertions, 0 deletions
diff --git a/CMake/FindGSS.cmake b/CMake/FindGSS.cmake
index 44bcfd063..a2f150cda 100644
--- a/CMake/FindGSS.cmake
+++ b/CMake/FindGSS.cmake
@@ -62,6 +62,7 @@ if(NOT _GSS_FOUND) #not found by pkg-config. Let's take more traditional approac
COMMAND ${_GSS_CONFIGURE_SCRIPT} "--cflags" "gssapi"
OUTPUT_VARIABLE _GSS_CFLAGS
RESULT_VARIABLE _GSS_CONFIGURE_FAILED
+ OUTPUT_STRIP_TRAILING_WHITESPACE
)
message(STATUS "CFLAGS: ${_GSS_CFLAGS}")
if(NOT _GSS_CONFIGURE_FAILED) # 0 means success
@@ -84,6 +85,7 @@ if(NOT _GSS_FOUND) #not found by pkg-config. Let's take more traditional approac
COMMAND ${_GSS_CONFIGURE_SCRIPT} "--libs" "gssapi"
OUTPUT_VARIABLE _GSS_LIB_FLAGS
RESULT_VARIABLE _GSS_CONFIGURE_FAILED
+ OUTPUT_STRIP_TRAILING_WHITESPACE
)
message(STATUS "LDFLAGS: ${_GSS_LIB_FLAGS}")
@@ -110,6 +112,7 @@ if(NOT _GSS_FOUND) #not found by pkg-config. Let's take more traditional approac
COMMAND ${_GSS_CONFIGURE_SCRIPT} "--version"
OUTPUT_VARIABLE _GSS_VERSION
RESULT_VARIABLE _GSS_CONFIGURE_FAILED
+ OUTPUT_STRIP_TRAILING_WHITESPACE
)
# older versions may not have the "--version" parameter. In this case we just don't care.
@@ -121,6 +124,7 @@ if(NOT _GSS_FOUND) #not found by pkg-config. Let's take more traditional approac
COMMAND ${_GSS_CONFIGURE_SCRIPT} "--vendor"
OUTPUT_VARIABLE _GSS_VENDOR
RESULT_VARIABLE _GSS_CONFIGURE_FAILED
+ OUTPUT_STRIP_TRAILING_WHITESPACE
)
# older versions may not have the "--vendor" parameter. In this case we just don't care.