Set required Clang to 9

- 10 is not yet required and is not very available
This commit is contained in:
JohnHolmesII 2020-02-22 15:11:25 -08:00 committed by Ivan
parent 7eccbecb2f
commit 7b54d386f2

View File

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