summaryrefslogtreecommitdiff
path: root/cmake/FindGcrypt.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'cmake/FindGcrypt.cmake')
-rw-r--r--cmake/FindGcrypt.cmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmake/FindGcrypt.cmake b/cmake/FindGcrypt.cmake
index 05ca93ec4..382104f5f 100644
--- a/cmake/FindGcrypt.cmake
+++ b/cmake/FindGcrypt.cmake
@@ -36,11 +36,11 @@ IF(LIBGCRYPT_CONFIG_EXECUTABLE)
EXEC_PROGRAM(${LIBGCRYPT_CONFIG_EXECUTABLE} ARGS --libs RETURN_VALUE _return_VALUE OUTPUT_VARIABLE GCRYPT_LDFLAGS)
EXEC_PROGRAM(${LIBGCRYPT_CONFIG_EXECUTABLE} ARGS --cflags RETURN_VALUE _return_VALUE OUTPUT_VARIABLE GCRYPT_CFLAGS)
-
+
IF(${GCRYPT_CFLAGS} MATCHES "\n")
SET(GCRYPT_CFLAGS " ")
ENDIF(${GCRYPT_CFLAGS} MATCHES "\n")
-
+
IF(GCRYPT_LDFLAGS AND GCRYPT_CFLAGS)
SET(GCRYPT_FOUND TRUE)
ENDIF(GCRYPT_LDFLAGS AND GCRYPT_CFLAGS)