diff options
Diffstat (limited to 'llvm/CMakeLists.txt')
-rw-r--r-- | llvm/CMakeLists.txt | 4 |
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.") |