From 16ffdbcb209ec43fdff246f6d73caf18fae940a2 Mon Sep 17 00:00:00 2001 From: Jamie Seward Date: Mon, 23 Oct 2017 23:50:06 -0700 Subject: [PATCH] Remove c++17 support flag in cmake Already covered by AppVeyor --- test/CMakeLists.txt | 5 ----- 1 file changed, 5 deletions(-) diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index 2c2c7479..c7286783 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -80,11 +80,6 @@ if(MSVC) # Disable warning C4566: character represented by universal-character-name '\uFF01' cannot be represented in the current code page (1252) # Disable warning C4996: 'nlohmann::basic_json::operator <<': was declared deprecated set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /wd4389 /wd4309 /wd4566 /wd4996") - - if(MSVC_VERSION GREATER_EQUAL 1910) - # Enable c++17 support in Visual Studio 2017 (for testing perfect forwarding and transparent comparator in find() / count()) - set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /std:c++17") - endif() endif() #############################################################################