diff --git a/scripts/cmake/DependenciesExternalProject.cmake b/scripts/cmake/DependenciesExternalProject.cmake index aab7f18f951..0d053fb1650 100644 --- a/scripts/cmake/DependenciesExternalProject.cmake +++ b/scripts/cmake/DependenciesExternalProject.cmake @@ -354,6 +354,10 @@ endif() # Building from source requires newer hdf version string(REPLACE "." "_" HDF5_TAG ${ogs.tested_version.hdf5}) +if(COMPILER_IS_GCC AND CMAKE_CXX_COMPILER_VERSION VERSION_GREATER_EQUAL 13.2) + set(ogs.minimum_version.vtk "9.3.0") +endif() + set(_vtk_source GIT_REPOSITORY https://github.com/kitware/vtk.git GIT_TAG v${ogs.minimum_version.vtk} )