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")