From 2edfb2f592afd9c0104eb72f5d6254f7e69cc915 Mon Sep 17 00:00:00 2001 From: Stefan Ritt Date: Fri, 17 May 2019 10:56:43 +0200 Subject: [PATCH] Fixed issues with OpenSSL library finding --- CMakeLists.txt | 2 +- cmake/FindOpenSSL.cmake | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index f3083f5c..f0e48b4d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -24,7 +24,7 @@ list(APPEND CMAKE_MODULE_PATH ${CMAKE_CURRENT_LIST_DIR}/cmake) # optional SSL library if (USE_SSL) add_compile_definitions(HAVE_SSL) - find_package(OPENSSL REQUIRED) + find_package(OpenSSL REQUIRED) include_directories(${OPENSSL_INCLUDE_DIR}) endif (USE_SSL) diff --git a/cmake/FindOpenSSL.cmake b/cmake/FindOpenSSL.cmake index 5f947fe5..1ac118fb 100644 --- a/cmake/FindOpenSSL.cmake +++ b/cmake/FindOpenSSL.cmake @@ -409,7 +409,6 @@ foreach(_comp IN LISTS OpenSSL_FIND_COMPONENTS) endforeach() unset(_comp) -include(${CMAKE_CURRENT_LIST_DIR}/FindPackageHandleStandardArgs.cmake) find_package_handle_standard_args(OpenSSL REQUIRED_VARS OPENSSL_CRYPTO_LIBRARY