GDAL_INCLUDE_DIR=/path/to/gdal/2.1.3/include EXPORT GDAL_INCLUDE_DIR but when I runcmakeagain, I still get the error. I'm somewhat new to Linux and I expect the fix is something simple, but can someone give me a hint as to what I'm missing?
but I found it necessary for GDAL master builds running on GDAL GitHub action CI, where for some reason, for some Python configuration (namely python 3.12.5 + numpy 2.0), the FindPython CMake package doesn't manage to locate
Python_NumPy_INCLUDE_DIR=$($PYTHON -c "import numpy; print(numpy.get_include())") cmake "-UPython*" "-U*LATER_PLUGIN" \ -DPython_LOOKUP_VERSION=${Python_LOOKUP_VERSION} \ -DPython_NumPy_INCLUDE_DIR=${Python_NumPy_INCLUDE_DIR} \ -DBUILD_PYTHON_BINDINGS:BOOL=ON \ ${SRC_DIR} |...