cmake: drop redundant assigments
No need to set them `ON` again. Closes #14924
This commit is contained in:
parent
abf737b3ce
commit
c4f781e69d
@ -856,7 +856,6 @@ if(USE_NGTCP2)
|
||||
else()
|
||||
message(FATAL_ERROR "ngtcp2 requires OpenSSL, wolfSSL or GnuTLS")
|
||||
endif()
|
||||
set(USE_NGTCP2 ON)
|
||||
include_directories(${NGTCP2_INCLUDE_DIRS})
|
||||
list(APPEND CURL_LIBS ${NGTCP2_LIBRARIES})
|
||||
list(APPEND LIBCURL_PC_REQUIRES_PRIVATE "libngtcp2")
|
||||
@ -878,7 +877,6 @@ if(USE_QUICHE)
|
||||
message(FATAL_ERROR "quiche requires BoringSSL")
|
||||
endif()
|
||||
openssl_check_quic()
|
||||
set(USE_QUICHE ON)
|
||||
include_directories(${QUICHE_INCLUDE_DIRS})
|
||||
list(APPEND CURL_LIBS ${QUICHE_LIBRARIES})
|
||||
list(APPEND LIBCURL_PC_REQUIRES_PRIVATE "quiche")
|
||||
@ -897,7 +895,6 @@ if(USE_MSH3)
|
||||
message(FATAL_ERROR "Only one HTTP/3 backend can be selected!")
|
||||
endif()
|
||||
find_package(MSH3 REQUIRED)
|
||||
set(USE_MSH3 ON)
|
||||
include_directories(${MSH3_INCLUDE_DIRS})
|
||||
list(APPEND CURL_LIBS ${MSH3_LIBRARIES})
|
||||
list(APPEND LIBCURL_PC_REQUIRES_PRIVATE "libmsh3")
|
||||
|
||||
Loading…
Reference in New Issue
Block a user