Set minimum Visual Studio version to 2017 (#1820)

This commit is contained in:
Benoit Blanchon committed 2023-02-10 14:49:24 +01:00
1 parent 3d8287265c
commit e054cba610
4 files changed
+3 -16

No files matched your search

+1 -6
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)