summaryrefslogtreecommitdiff
path: root/src/lib/CMakeLists.txt
diff options
context:
space:
mode:
authordimitri staessens <[email protected]>2017-08-10 11:53:09 +0000
committerSander Vrijders <[email protected]>2017-08-10 11:53:09 +0000
commit3858ddeafce6eeda42ff380abffdc074646069e7 (patch)
tree37df83e903ebec48ee541445635231846d386dc9 /src/lib/CMakeLists.txt
parentafc4342532225fb86d11729ddb783095cb62686a (diff)
parent73ac919efcd405e3a3221be3ad2fe4722b413f43 (diff)
downloadouroboros-3858ddeafce6eeda42ff380abffdc074646069e7.tar.gz
ouroboros-3858ddeafce6eeda42ff380abffdc074646069e7.zip
Merged in dstaesse/ouroboros/be-cmake-osx (pull request #545)
build: Reset LIBGCRYPT_LIBRARIES when not found
Diffstat (limited to 'src/lib/CMakeLists.txt')
-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)