mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-14 07:09:08 +00:00
Fix VS2012 ID/version check.
llvm-svn: 199753
This commit is contained in:
parent
176488ad20
commit
f0783bc47e
@ -42,7 +42,7 @@ int main() { return (float)x; }"
|
||||
message(FATAL_ERROR "Host Clang must be able to find libstdc++4.7 or newer!")
|
||||
endif()
|
||||
endif()
|
||||
elseif(CMAKE_CXX_COMPILER_ID STREQUAL "MSVC")
|
||||
elseif(CMAKE_CXX_COMPILER_ID MATCHES "MSVC")
|
||||
if(CMAKE_CXX_COMPILER_VERSION VERSION_LESS 17.0)
|
||||
message(FATAL_ERROR "Host Visual Studio must be at least 2012 (MSVC 17.0)")
|
||||
endif()
|
||||
|
Loading…
Reference in New Issue
Block a user