Browse Source

Try to fix OpenSSL cmake recipe

master
annelin 3 months ago
parent
commit
c7eb992620
1 changed files with 0 additions and 12 deletions
  1. 0
    12
      cmake/FindOpenSSL.cmake

+ 0
- 12
cmake/FindOpenSSL.cmake View File

@@ -409,18 +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
OPENSSL_INCLUDE_DIR
VERSION_VAR
OPENSSL_VERSION
HANDLE_COMPONENTS
FAIL_MESSAGE
"Could NOT find OpenSSL, try to set the path to OpenSSL root folder in the system variable OPENSSL_ROOT_DIR"
)

mark_as_advanced(OPENSSL_INCLUDE_DIR OPENSSL_LIBRARIES)

if(OPENSSL_FOUND)

Loading…
Cancel
Save