mdbx-cmake: enable MSVC 2015.

This commit is contained in:
Leonid Yuriev 2019-10-24 11:59:02 +03:00
parent ed515d4642
commit d24df41a67

View File

@ -490,8 +490,8 @@ macro(setup_compile_flags)
endif() endif()
if(MSVC) if(MSVC)
if (MSVC_VERSION LESS 1915) if (MSVC_VERSION LESS 1900)
message(FATAL_ERROR At least \"Microsoft C/C++ Compiler\" version 19.15.26730 (Visual Studio 2017 15.8) is required.) message(FATAL_ERROR "At least \"Microsoft C/C++ Compiler\" version 19.0.24234.1 (Visual Studio 2015 Update 3) is required.")
endif() endif()
add_compile_flags("CXX" "/Zc:__cplusplus") add_compile_flags("CXX" "/Zc:__cplusplus")
add_compile_flags("C;CXX" "/W4") add_compile_flags("C;CXX" "/W4")