summaryrefslogtreecommitdiffstats
path: root/llvm/CMakeLists.txt
diff options
context:
space:
mode:
authorChris Bieneman <beanz@apple.com>2015-02-13 23:24:14 +0000
committerChris Bieneman <beanz@apple.com>2015-02-13 23:24:14 +0000
commiteff99e8ac53a83bbf9e408f6f59669132b272ae3 (patch)
tree7e131010d15235612680255f887ea79d59638c26 /llvm/CMakeLists.txt
parent22bba5dd4b6edda00a6c67dc741d73024a7fa29a (diff)
downloadbcm5719-llvm-eff99e8ac53a83bbf9e408f6f59669132b272ae3.tar.gz
bcm5719-llvm-eff99e8ac53a83bbf9e408f6f59669132b272ae3.zip
Raising minimum required Visual Studio version to 2013.
This is based on the discussions on: [LLVMdev] [RFC] Raising LLVM minimum required MSVC version to 2013 for trunk llvm-svn: 229185
Diffstat (limited to 'llvm/CMakeLists.txt')
-rw-r--r--llvm/CMakeLists.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/llvm/CMakeLists.txt b/llvm/CMakeLists.txt
index afcc9f0ce2a..4f00395fd60 100644
--- a/llvm/CMakeLists.txt
+++ b/llvm/CMakeLists.txt
@@ -24,6 +24,10 @@ endif()
project(LLVM)
+if (MSVC AND MSVC_VERSION LESS 1800)
+ message(FATAL_ERROR "Minimum required MSVC version is 2013!")
+endif ()
+
# The following only works with the Ninja generator in CMake >= 3.0.
set(LLVM_PARALLEL_COMPILE_JOBS "" CACHE STRING
"Define the maximum number of concurrent compilation jobs.")
OpenPOWER on IntegriCloud