libxml2.patch 713 B

12345678910111213141516171819202122232425
  1. From 5436aa8f61c232e38c579340ecffe601c49555dc Mon Sep 17 00:00:00 2001
  2. From: Matthias Kuhn <matthias@opengis.ch>
  3. Date: Wed, 28 Jul 2021 17:27:28 +0200
  4. Subject: [PATCH] Fix dependency libxml2
  5. ---
  6. src/providers/mdal/CMakeLists.txt | 2 +-
  7. 1 file changed, 1 insertion(+), 1 deletion(-)
  8. diff --git a/src/providers/mdal/CMakeLists.txt b/src/providers/mdal/CMakeLists.txt
  9. index e507a0f4cb..56edb89210 100644
  10. --- a/src/providers/mdal/CMakeLists.txt
  11. +++ b/src/providers/mdal/CMakeLists.txt
  12. @@ -16,7 +16,7 @@ if(MSVC)
  13. endif()
  14. find_package(HDF5)
  15. find_package(NetCDF)
  16. -find_package(LibXml2)
  17. +find_package(libxml2 CONFIG)
  18. ########################################################
  19. # Compile internal MDAL
  20. --
  21. 2.31.1