On 6/6/24 8:21 PM, Greg Troxel via gdal-dev wrote:
also, I am far from a cmake expert, but I looked in the CMakeFiles and
cannot find where they
- try to run the compiler with --std=c++17
# check compiler and set preferences.
if (NOT CMAKE_CXX_STANDARD)
set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
endif()
https://github.com/OSGeo/gdal/blob/master/CMakeLists.txt#L39-L43
Kind Regards,
Bas
--
GPG Key ID: 4096R/6750F10AE88D4AF1
Fingerprint: 8182 DE41 7056 408D 6146 50D1 6750 F10A E88D 4AF1
_______________________________________________
gdal-dev mailing list
gdal-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/gdal-dev