Build: bump minimum GCC version from 9.3.1 to 11.0.0

Increase the minimum version as part of the VFX platform 2023.
This commit is contained in:
Campbell Barton 2022-12-17 13:53:30 +11:00
parent 2ac6e26c25
commit 025570c44e
1 changed files with 1 additions and 1 deletions

View File

@ -117,7 +117,7 @@ enable_testing()
# Keep in sync with: https://wiki.blender.org/wiki/Building_Blender
if(CMAKE_COMPILER_IS_GNUCC)
if("${CMAKE_C_COMPILER_VERSION}" VERSION_LESS "9.3.1")
if("${CMAKE_C_COMPILER_VERSION}" VERSION_LESS "11.0.0")
message(FATAL_ERROR "The minimum supported version of GCC is 9.3.1")
endif()
elseif(CMAKE_C_COMPILER_ID MATCHES "Clang")