Check correct CMake flag.

This commit is contained in:
Foaly 2020-05-26 12:46:02 +02:00 committed by Jonathan White
parent 1fbddf4149
commit b17b9683e1

View File

@ -499,7 +499,7 @@ if(MINGW)
endif() endif()
find_file(CRYPTO_DLL NAMES libcrypto-1_1.dll libcrypto-1_1-x64.dll) 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.") message(FATAL_ERROR "Cannot find libcrypto dll, ensure libgcrypt is properly installed.")
endif() endif()