diff --git a/CMakeLists.txt b/CMakeLists.txt index 324591520f..654562672b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -204,7 +204,7 @@ if (WIN32) target_compile_definitions(dawn_internal_config INTERFACE "NOMINMAX" "WIN32_LEAN_AND_MEAN") endif() -set(CMAKE_CXX_STANDARD "14") +set(CMAKE_CXX_STANDARD "17") ################################################################################ # Run on all subdirectories diff --git a/src/dawn_node/binding/CMakeLists.txt b/src/dawn_node/binding/CMakeLists.txt index be0d508349..1113a5df4f 100644 --- a/src/dawn_node/binding/CMakeLists.txt +++ b/src/dawn_node/binding/CMakeLists.txt @@ -80,9 +80,3 @@ target_link_libraries(dawn_node_binding dawncpp dawn_node_interop ) - -# dawn_node targets require C++17 -set_property( - TARGET dawn_node_binding - PROPERTY CXX_STANDARD 17 -) diff --git a/src/dawn_node/interop/CMakeLists.txt b/src/dawn_node/interop/CMakeLists.txt index 0b84c0ab97..e986d5cc4b 100644 --- a/src/dawn_node/interop/CMakeLists.txt +++ b/src/dawn_node/interop/CMakeLists.txt @@ -60,9 +60,3 @@ target_link_libraries(dawn_node_interop PRIVATE dawncpp ) - -# dawn_node targets require C++17 -set_property( - TARGET dawn_node_interop - PROPERTY CXX_STANDARD 17 -)