mirror of
https://github.com/curl/curl.git
synced 2026-04-14 22:01:41 +03:00
cmake: add find_package() missing from USE_MSH3 option
The original patch added the Find module and CMake option. But the logic
missed a `find_package(MSH3)` call to use that Find module, leaving the
referenced `MSH3_INCLUDE_DIRS`, `MSH3_LIBRARIES` variables undefined.
Blind fix.
Follow-up to 37492ebbfa #8517
Closes #14609
This commit is contained in:
parent
d8cefac245
commit
cd683f9071
1 changed files with 1 additions and 0 deletions
|
|
@ -853,6 +853,7 @@ if(USE_MSH3)
|
|||
if(USE_NGTCP2 OR USE_QUICHE)
|
||||
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})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue