gdal
gdal copied to clipboard
CMake: do not do find_package() for a component explicitly disable by GDAL_USE_foo=NO ?
Cf https://github.com/spack/spack/issues/42809#issuecomment-1960352436
The issue https://github.com/OSGeo/gdal/issues/12327 that @adamjstewart hit is another example where this behaviour is a problem.