Correct GCC version in message

Missed last commit.
This commit is contained in:
Campbell Barton 2022-12-17 13:56:01 +11:00
parent 025570c44e
commit dc8355cfe2
1 changed files with 1 additions and 1 deletions

View File

@ -118,7 +118,7 @@ enable_testing()
if(CMAKE_COMPILER_IS_GNUCC)
if("${CMAKE_C_COMPILER_VERSION}" VERSION_LESS "11.0.0")
message(FATAL_ERROR "The minimum supported version of GCC is 9.3.1")
message(FATAL_ERROR "The minimum supported version of GCC is 11.0.0")
endif()
elseif(CMAKE_C_COMPILER_ID MATCHES "Clang")
if(CMAKE_COMPILER_IS_GNUCC AND ("${CMAKE_C_COMPILER_VERSION}" VERSION_LESS "8.0"))