mirror of
https://github.com/Kitware/CMake.git
synced 2026-03-06 22:58:35 -06:00
curl: Set build options the way we need for CMake
Set options added by the update to curl 8.12.1. In particular, now that upstream curl's CMake code depends on OpenSSL via imported targets from FindOpenSSL, we can let it handle the transitive dependency on posix threads.
This commit is contained in:
@@ -159,6 +159,7 @@ else()
|
||||
set(CURL_CA_BUNDLE "" CACHE FILEPATH "Path to SSL CA Certificate Bundle")
|
||||
set(CURL_CA_PATH "" CACHE PATH "Path to SSL CA Certificate Directory")
|
||||
mark_as_advanced(CURL_CA_BUNDLE CURL_CA_PATH)
|
||||
find_package(OpenSSL)
|
||||
endif()
|
||||
if(NOT CMAKE_USE_SYSTEM_NGHTTP2)
|
||||
# Tell curl's FindNGHTTP2 module to use our library.
|
||||
|
||||
Reference in New Issue
Block a user