Set minimum Visual Studio version to 2017 (#1820)

This commit is contained in:
Benoit Blanchon
2023-02-09 19:04:23 +01:00
parent 3d8287265c
commit e054cba610
4 changed files with 3 additions and 16 deletions

View File

@ -85,13 +85,8 @@ if(MSVC)
add_compile_options(
/W4 # Set warning level
/WX # Treats all compiler warnings as errors.
/Zc:__cplusplus # Enable updated __cplusplus macro
)
if (NOT MSVC_VERSION LESS 1910) # >= Visual Studio 2017
add_compile_options(
/Zc:__cplusplus # Enable updated __cplusplus macro
)
endif()
endif()
if(MINGW)