From 4ec767bdc92b722c6224f2949e79f07def961c7f Mon Sep 17 00:00:00 2001 From: Bernd Amend Date: Sat, 22 May 2021 22:37:08 +0200 Subject: [PATCH] drop /std:c++latest and /std:c++17 Both are already set by cmake --- CMakeLists.txt | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 54e25c4c..f54a27ac 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -145,10 +145,7 @@ else() endif() if(MSVC) - add_definitions(/std:c++latest /W4 /w14545 /w34242 /w34254 /w34287 /w44263 /w44265 /w44296 /w44311 /w44826 /we4289 /w14546 /w14547 /w14549 /w14555 /w14619 /w14905 /w14906 /w14928) - - add_definitions(/std:c++17) - + add_definitions(/W4 /w14545 /w34242 /w34254 /w34287 /w44263 /w44265 /w44296 /w44311 /w44826 /we4289 /w14546 /w14547 /w14549 /w14555 /w14619 /w14905 /w14906 /w14928) if(MSVC_VERSION STREQUAL "1800") # VS2013 doesn't have magic statics