summaryrefslogtreecommitdiff
path: root/CMake
diff options
context:
space:
mode:
authorDon <don.j.olmstead@gmail.com>2022-06-28 15:33:25 -0700
committerDaniel Stenberg <daniel@haxx.se>2022-07-05 10:09:40 +0200
commit7f8b36b074b953ecf133b64c63caaaaf8017739a (patch)
treefcd96c45a4d3933bcb8e8b3bc07d7ef34509831e /CMake
parent3622bf4e79ccbc9bd7890be9e732a89c99de8416 (diff)
downloadcurl-7f8b36b074b953ecf133b64c63caaaaf8017739a.tar.gz
cmake: support ngtcp2 boringssl backend
Update the ngtcp2 find module to detect the boringssl backend. Determine if the underlying OpenSSL implementation is BoringSSL and if so use that as the ngtcp2 backend. Reviewed-by: Jakub Zakrzewski Closes #9065
Diffstat (limited to 'CMake')
-rw-r--r--CMake/FindNGTCP2.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/CMake/FindNGTCP2.cmake b/CMake/FindNGTCP2.cmake
index 37b060ea0..61e54c2d6 100644
--- a/CMake/FindNGTCP2.cmake
+++ b/CMake/FindNGTCP2.cmake
@@ -71,7 +71,7 @@ endif()
if(NGTCP2_FIND_COMPONENTS)
set(NGTCP2_CRYPTO_BACKEND "")
foreach(component IN LISTS NGTCP2_FIND_COMPONENTS)
- if(component MATCHES "^(OpenSSL|GnuTLS)")
+ if(component MATCHES "^(BoringSSL|OpenSSL|GnuTLS)")
if(NGTCP2_CRYPTO_BACKEND)
message(FATAL_ERROR "NGTCP2: Only one crypto library can be selected")
endif()