I want to use
vtkGDALRasterReader in my project. VTK is bound into my project using CMake, and I use VTK via add_subdirectory.
vtkGDARasterReader requires the GDAL library which is available from https://github.com/OSGeo/gdal
To build GDAL one needs the PROJ library, which is already in the ThirdParty directory of VTK.
- Why is the GDAL library not included in the build tree for VTK as a submodule?
- Is there an elegant way to build GDAL via CMake, given that its PROJ dependency is already part of VTK?
- Is there an “official” CMake way to build/bind in the GDAL library?