projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
94ad5a1
)
Fix VS2012 ID/version check.
author
Amara Emerson
<amara.emerson@arm.com>
Tue, 21 Jan 2014 16:41:07 +0000
(16:41 +0000)
committer
Amara Emerson
<amara.emerson@arm.com>
Tue, 21 Jan 2014 16:41:07 +0000
(16:41 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@199753
91177308
-0d34-0410-b5e6-
96231b3b80d8
cmake/modules/HandleLLVMOptions.cmake
patch
|
blob
|
history
diff --git
a/cmake/modules/HandleLLVMOptions.cmake
b/cmake/modules/HandleLLVMOptions.cmake
index b02182189e0a679b9179de2c32c1c6e7f48488cf..cb7da4265806a4d28818582b1f26c0fd61e666fe 100644
(file)
--- a/
cmake/modules/HandleLLVMOptions.cmake
+++ b/
cmake/modules/HandleLLVMOptions.cmake
@@
-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()