Set min gcc version to 11

This commit is contained in:
Megamouse 2021-05-26 21:21:01 +02:00
parent 177933e212
commit 5b4631dcf9
2 changed files with 8 additions and 8 deletions

View file

@ -3,8 +3,8 @@ cmake_minimum_required(VERSION 3.16.9)
project(rpcs3)
if(${CMAKE_CXX_COMPILER_ID} MATCHES "GNU")
if(CMAKE_CXX_COMPILER_VERSION VERSION_LESS 10)
message(FATAL_ERROR "RPCS3 requires at least gcc-10.")
if(CMAKE_CXX_COMPILER_VERSION VERSION_LESS 11)
message(FATAL_ERROR "RPCS3 requires at least gcc-11.")
endif()
elseif(${CMAKE_CXX_COMPILER_ID} MATCHES "Clang")
if(CMAKE_CXX_COMPILER_VERSION VERSION_LESS 12.0)