From d24df41a67a3d82bda1c7986ffef1ebff361f430 Mon Sep 17 00:00:00 2001 From: Leonid Yuriev Date: Thu, 24 Oct 2019 11:59:02 +0300 Subject: [PATCH] mdbx-cmake: enable MSVC 2015. --- cmake/compiler.cmake | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmake/compiler.cmake b/cmake/compiler.cmake index b6e11a59..03b0805b 100644 --- a/cmake/compiler.cmake +++ b/cmake/compiler.cmake @@ -490,8 +490,8 @@ macro(setup_compile_flags) endif() if(MSVC) - if (MSVC_VERSION LESS 1915) - message(FATAL_ERROR At least \"Microsoft C/C++ Compiler\" version 19.15.26730 (Visual Studio 2017 15.8) is required.) + if (MSVC_VERSION LESS 1900) + message(FATAL_ERROR "At least \"Microsoft C/C++ Compiler\" version 19.0.24234.1 (Visual Studio 2015 Update 3) is required.") endif() add_compile_flags("CXX" "/Zc:__cplusplus") add_compile_flags("C;CXX" "/W4")