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:
Viktor Szakats 2024-08-20 01:13:14 +02:00
parent d8cefac245
commit cd683f9071
No known key found for this signature in database
GPG Key ID: B5ABD165E2AEF201

View File

@ -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})