summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordimitri staessens <dimitri.staessens@ugent.be>2017-08-10 13:42:07 +0200
committerdimitri staessens <dimitri.staessens@ugent.be>2017-08-10 13:46:05 +0200
commit73ac919efcd405e3a3221be3ad2fe4722b413f43 (patch)
tree37df83e903ebec48ee541445635231846d386dc9
parentafc4342532225fb86d11729ddb783095cb62686a (diff)
downloadouroboros-73ac919efcd405e3a3221be3ad2fe4722b413f43.tar.gz
ouroboros-73ac919efcd405e3a3221be3ad2fe4722b413f43.zip
build: Reset LIBGCRYPT_LIBRARIES when not found
-rw-r--r--src/lib/CMakeLists.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/CMakeLists.txt b/src/lib/CMakeLists.txt
index 34bf5b1f..c6b70d71 100644
--- a/src/lib/CMakeLists.txt
+++ b/src/lib/CMakeLists.txt
@@ -47,6 +47,8 @@ if (LIBGCRYPT_LIBRARIES)
set(HAVE_LIBGCRYPT "1" CACHE STRING "Have libgcrypt")
endif()
endif ()
+else ()
+ set(LIBGCRYPT_LIBRARIES "")
endif ()
find_package(OpenSSL)