mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-31 20:51:52 +01:00
Downgrade build system error message to a warning
Instead of requiring MSVC 2013 U4, we simply warn users, since some might not bt able to immediately upgrade. llvm-svn: 229598
This commit is contained in:
parent
dc7c33fd53
commit
94af5c68a5
@ -41,8 +41,11 @@ int main() { return (float)x; }"
|
|||||||
set(CMAKE_REQUIRED_LIBRARIES ${OLD_CMAKE_REQUIRED_LIBRARIES})
|
set(CMAKE_REQUIRED_LIBRARIES ${OLD_CMAKE_REQUIRED_LIBRARIES})
|
||||||
endif()
|
endif()
|
||||||
elseif(CMAKE_CXX_COMPILER_ID MATCHES "MSVC")
|
elseif(CMAKE_CXX_COMPILER_ID MATCHES "MSVC")
|
||||||
if(CMAKE_CXX_COMPILER_VERSION VERSION_LESS 18.0.31101)
|
if(CMAKE_CXX_COMPILER_VERSION VERSION_LESS 18.0)
|
||||||
message(FATAL_ERROR "Host Visual Studio must be at least 2013 Update 4 (MSVC 18.0.31101)")
|
message(FATAL_ERROR "Host Visual Studio must be at least 2013")
|
||||||
|
elseif(CMAKE_CXX_COMPILER_VERSION VERSION_LESS 18.0.31101)
|
||||||
|
message(WARNING "Host Visual Studio should at least be 2013 Update 4 (MSVC 18.0.31101)"
|
||||||
|
" due to miscompiles from earlier versions")
|
||||||
endif()
|
endif()
|
||||||
endif()
|
endif()
|
||||||
endif()
|
endif()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user