From b17b9683e11d122030de057914a94e56806c9eb8 Mon Sep 17 00:00:00 2001 From: Foaly <1014762+Foaly@users.noreply.github.com> Date: Tue, 26 May 2020 12:46:02 +0200 Subject: [PATCH] Check correct CMake flag. --- src/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index c5fa3a1ac..823bf3a4b 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -499,7 +499,7 @@ if(MINGW) endif() find_file(CRYPTO_DLL NAMES libcrypto-1_1.dll libcrypto-1_1-x64.dll) - if (NOT OPENSSL_DLL) + if (NOT CRYPTO_DLL) message(FATAL_ERROR "Cannot find libcrypto dll, ensure libgcrypt is properly installed.") endif()