gdal.patch 662 B

12345678910111213141516171819202122232425
  1. From 1e4d3489a8a84d3003af6e1690234746c667f31f Mon Sep 17 00:00:00 2001
  2. From: Matthias Kuhn <matthias@opengis.ch>
  3. Date: Wed, 28 Jul 2021 09:54:01 +0200
  4. Subject: [PATCH] Link to all gdal deps
  5. ---
  6. CMakeLists.txt | 2 ++
  7. 1 file changed, 2 insertions(+)
  8. diff --git a/CMakeLists.txt b/CMakeLists.txt
  9. index 7a41b0d1e2..1141d6815a 100644
  10. --- a/CMakeLists.txt
  11. +++ b/CMakeLists.txt
  12. @@ -336,6 +336,8 @@ if(WITH_CORE)
  13. find_package(Proj)
  14. find_package(GEOS)
  15. find_package(GDAL)
  16. + # Make sure we link to all gdal dependencies
  17. + set(GDAL_LIBRARY ${GDAL_LIBRARIES})
  18. find_package(Expat REQUIRED)
  19. find_package(Spatialindex REQUIRED)
  20. if (WITH_GUI)
  21. --
  22. 2.31.1