From 73ac919efcd405e3a3221be3ad2fe4722b413f43 Mon Sep 17 00:00:00 2001 From: dimitri staessens Date: Thu, 10 Aug 2017 13:42:07 +0200 Subject: build: Reset LIBGCRYPT_LIBRARIES when not found --- src/lib/CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) 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) -- cgit v1.2.3