From cd683f9071430739b318e3070806cc28e9dc6f60 Mon Sep 17 00:00:00 2001 From: Viktor Szakats Date: Tue, 20 Aug 2024 01:13:14 +0200 Subject: [PATCH] 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 37492ebbfa24ba4e700e6655b3dbc2bdd65c894a #8517 Closes #14609 --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 269a6e286f..a4b6fb4678 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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})