[cmake] C++ version should not be mandated by the toolchain setting, as it conflicts with Windows (CI) builds using vcpkg

This commit is contained in:
Christian Parpart
2020-08-28 12:47:20 +02:00
parent abaa2e722f
commit c3eff6ed50
4 changed files with 6 additions and 9 deletions
-4
View File
@@ -1,4 +0,0 @@
# Require C++17.
set(CMAKE_CXX_STANDARD 17) # This requires at least CMake 3.8 to accept this C++17 flag.
set(CMAKE_CXX_STANDARD_REQUIRED TRUE)
set(CMAKE_CXX_EXTENSIONS OFF)