cmake: update ngtcp2 detection
Replace `OpenSSL` with `quictls` to follow the same change
in the v0.17.0 ngtcp2 release.
Follow-up to e0093b4b73
Closes #11508
This commit is contained in:
parent
c76df46a19
commit
a15ef19a8c
@ -71,7 +71,7 @@ endif()
|
|||||||
if(NGTCP2_FIND_COMPONENTS)
|
if(NGTCP2_FIND_COMPONENTS)
|
||||||
set(NGTCP2_CRYPTO_BACKEND "")
|
set(NGTCP2_CRYPTO_BACKEND "")
|
||||||
foreach(component IN LISTS NGTCP2_FIND_COMPONENTS)
|
foreach(component IN LISTS NGTCP2_FIND_COMPONENTS)
|
||||||
if(component MATCHES "^(BoringSSL|OpenSSL|wolfSSL|GnuTLS)")
|
if(component MATCHES "^(BoringSSL|quictls|wolfSSL|GnuTLS)")
|
||||||
if(NGTCP2_CRYPTO_BACKEND)
|
if(NGTCP2_CRYPTO_BACKEND)
|
||||||
message(FATAL_ERROR "NGTCP2: Only one crypto library can be selected")
|
message(FATAL_ERROR "NGTCP2: Only one crypto library can be selected")
|
||||||
endif()
|
endif()
|
||||||
|
|||||||
@ -604,7 +604,7 @@ if(USE_NGTCP2)
|
|||||||
elseif(HAVE_BORINGSSL)
|
elseif(HAVE_BORINGSSL)
|
||||||
find_package(NGTCP2 REQUIRED BoringSSL)
|
find_package(NGTCP2 REQUIRED BoringSSL)
|
||||||
else()
|
else()
|
||||||
find_package(NGTCP2 REQUIRED OpenSSL)
|
find_package(NGTCP2 REQUIRED quictls)
|
||||||
endif()
|
endif()
|
||||||
CheckQuicSupportInOpenSSL()
|
CheckQuicSupportInOpenSSL()
|
||||||
elseif(USE_GNUTLS)
|
elseif(USE_GNUTLS)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user