···11+From 47063bf00060dd6e8ccb384770a7c04dc534dce0 Mon Sep 17 00:00:00 2001
22+From: Pavel Sobolev <paveloomm@gmail.com>
33+Date: Wed, 19 Jun 2024 21:17:33 +0300
44+Subject: [PATCH] Use the module mode to search for the `LibXml2` package.
55+66+---
77+ CMakeLists.txt | 2 +-
88+ 1 file changed, 1 insertion(+), 1 deletion(-)
99+1010+diff --git a/CMakeLists.txt b/CMakeLists.txt
1111+index ed36d99d..6031dc77 100644
1212+--- a/CMakeLists.txt
1313++++ b/CMakeLists.txt
1414+@@ -123,7 +123,7 @@ else()
1515+ # Therefore, disable the inspection of the `PATH` variable by setting `NO_SYSTEM_ENVIRONMENT_PATH` option.
1616+ # See <https://cmake.org/cmake/help/v3.30/command/find_package.html#:~:text=Search the standard system environment
1717+ # variables> for more details.
1818+- find_package(LibXml2 NO_MODULE NO_SYSTEM_ENVIRONMENT_PATH)
1919++ find_package(LibXml2 MODULE)
2020+ endif()
2121+2222+ # Find the following packages only in 3rdparty, if `GR_USE_BUNDLED_LIBRARIES` is set
2323+--
2424+2.45.1
2525+