···1+From 47063bf00060dd6e8ccb384770a7c04dc534dce0 Mon Sep 17 00:00:00 2001
2+From: Pavel Sobolev <paveloomm@gmail.com>
3+Date: Wed, 19 Jun 2024 21:17:33 +0300
4+Subject: [PATCH] Use the module mode to search for the `LibXml2` package.
5+6+---
7+ CMakeLists.txt | 2 +-
8+ 1 file changed, 1 insertion(+), 1 deletion(-)
9+10+diff --git a/CMakeLists.txt b/CMakeLists.txt
11+index ed36d99d..6031dc77 100644
12+--- a/CMakeLists.txt
13++++ b/CMakeLists.txt
14+@@ -123,7 +123,7 @@ else()
15+ # Therefore, disable the inspection of the `PATH` variable by setting `NO_SYSTEM_ENVIRONMENT_PATH` option.
16+ # See <https://cmake.org/cmake/help/v3.30/command/find_package.html#:~:text=Search the standard system environment
17+ # variables> for more details.
18+- find_package(LibXml2 NO_MODULE NO_SYSTEM_ENVIRONMENT_PATH)
19++ find_package(LibXml2 MODULE)
20+ endif()
21+22+ # Find the following packages only in 3rdparty, if `GR_USE_BUNDLED_LIBRARIES` is set
23+--
24+2.45.1
25+