mirror of
https://github.com/curl/curl.git
synced 2026-05-30 23:17:32 +03:00
cmake: require quictls (or fork) when using msh3 on non-Windows
Syncing behavior with `./configure`. Closes #15003
This commit is contained in:
parent
95a87a0e28
commit
1f1fc27c15
1 changed files with 6 additions and 0 deletions
|
|
@ -904,6 +904,12 @@ if(USE_MSH3)
|
|||
if(USE_NGTCP2 OR USE_QUICHE)
|
||||
message(FATAL_ERROR "Only one HTTP/3 backend can be selected")
|
||||
endif()
|
||||
if(NOT WIN32)
|
||||
if(NOT USE_OPENSSL)
|
||||
message(FATAL_ERROR "msh3/msquic requires OpenSSL fork with QUIC API")
|
||||
endif()
|
||||
openssl_check_quic()
|
||||
endif()
|
||||
find_package(MSH3 REQUIRED)
|
||||
include_directories(SYSTEM ${MSH3_INCLUDE_DIRS})
|
||||
list(APPEND CURL_LIBS ${MSH3_LIBRARIES})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue