[GRASS-git] [OSGeo/grass] 748e31: cmake: use imported GDAL target and clean up depen...

Nicklas Larsson noreply at github.com
Tue Mar 4 05:36:57 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/OSGeo/grass
  Commit: 748e31b9661251ff9b25833051bfc8cc152e5604
      https://github.com/OSGeo/grass/commit/748e31b9661251ff9b25833051bfc8cc152e5604
  Author: Nicklas Larsson <n_larsson at yahoo.com>
  Date:   2025-03-04 (Tue, 04 Mar 2025)

  Changed paths:
    M .github/workflows/cmake.yml
    R cmake/find_scripts/FindGDAL.cmake
    M cmake/modules/CheckDependentLibraries.cmake
    M db/drivers/CMakeLists.txt
    M display/CMakeLists.txt
    M general/CMakeLists.txt
    M general/manage/lister/CMakeLists.txt
    M lib/CMakeLists.txt
    M lib/proj/CMakeLists.txt
    M lib/rst/CMakeLists.txt
    M lib/vector/CMakeLists.txt
    M lib/vector/diglib/CMakeLists.txt
    M ps/CMakeLists.txt
    M raster/CMakeLists.txt
    M raster/r.sim/CMakeLists.txt
    M raster3d/r3.flow/CMakeLists.txt
    M vector/CMakeLists.txt
    M vector/v.lrs/CMakeLists.txt

  Log Message:
  -----------
  cmake: use imported GDAL target and clean up dependencies (#5263)

- Use CMake's FindGDAL.cmake and use imported GDAL::GDAL target.
- Include GDAL include dir with public scope to grass_vector,
  grass_interpfl and grass_gproj targets enabling the use of those
  libraries as dependencies without adding GDAL::GDAL as dependency.
- Remove dependency of GDAL::GDAL from targets which do not need it.



To unsubscribe from these emails, change your notification settings at https://github.com/OSGeo/grass/settings/notifications


More information about the grass-commit mailing list