1
0
mirror of https://github.com/RPCS3/rpcs3.git synced 2024-11-22 10:42:36 +01:00

CMake: bump minimum Clang to 11

This commit is contained in:
Jan Beich 2020-12-22 03:38:34 +00:00 committed by Ivan
parent b9b9a0465f
commit 5cb70ddbd5

View File

@ -7,8 +7,8 @@ if(CMAKE_COMPILER_IS_GNUCXX)
message(FATAL_ERROR "RPCS3 requires at least gcc-9.")
endif()
elseif(${CMAKE_CXX_COMPILER_ID} MATCHES "Clang")
if(CMAKE_CXX_COMPILER_VERSION VERSION_LESS 9.0)
message(FATAL_ERROR "RPCS3 requires at least clang-9.0.")
if(CMAKE_CXX_COMPILER_VERSION VERSION_LESS 11.0)
message(FATAL_ERROR "RPCS3 requires at least clang-11.0.")
endif()
endif()