From fb7982e95aeac50038b6370d2f451f6f9313d26e Mon Sep 17 00:00:00 2001 From: Filipe Cabecinhas Date: Tue, 17 Feb 2015 23:29:00 +0000 Subject: [PATCH] We require MSVC 2013 Update 4 due to previous versions miscompiling ASTMatchers Previous versions of MSVC 2013 would miscompile ASTMatchers (and/or their tests). Bump up the requirement and make sure we know about the minor revision. Minimum required version found by Michael Edwards! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@229584 91177308-0d34-0410-b5e6-96231b3b80d8 --- cmake/modules/HandleLLVMOptions.cmake | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmake/modules/HandleLLVMOptions.cmake b/cmake/modules/HandleLLVMOptions.cmake index 3843aa83450..24af2f81ceb 100644 --- a/cmake/modules/HandleLLVMOptions.cmake +++ b/cmake/modules/HandleLLVMOptions.cmake @@ -41,8 +41,8 @@ int main() { return (float)x; }" set(CMAKE_REQUIRED_LIBRARIES ${OLD_CMAKE_REQUIRED_LIBRARIES}) endif() elseif(CMAKE_CXX_COMPILER_ID MATCHES "MSVC") - if(CMAKE_CXX_COMPILER_VERSION VERSION_LESS 18.0) - message(FATAL_ERROR "Host Visual Studio must be at least 2013 (MSVC 18.0)") + if(CMAKE_CXX_COMPILER_VERSION VERSION_LESS 18.0.31101) + message(FATAL_ERROR "Host Visual Studio must be at least 2013 Update 4 (MSVC 18.0.31101)") endif() endif() endif() -- 2.34.1