gdal icon indicating copy to clipboard operation
gdal copied to clipboard

CMake: do not do find_package() for a component explicitly disable by GDAL_USE_foo=NO ?

Open rouault opened this issue 1 year ago • 1 comments

Cf https://github.com/spack/spack/issues/42809#issuecomment-1960352436

rouault avatar Feb 23 '24 15:02 rouault

The issue https://github.com/OSGeo/gdal/issues/12327 that @adamjstewart hit is another example where this behaviour is a problem.

Chrismarsh avatar Sep 24 '25 16:09 Chrismarsh