CMake: enable C++17

Bug: dawn:824
Change-Id: Ia8ac55d406a2b0b9c71f12b523058fa97aabf408
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/75040
Reviewed-by: Austin Eng <enga@chromium.org>
Auto-Submit: Corentin Wallez <cwallez@chromium.org>
Reviewed-by: Ben Clayton <bclayton@chromium.org>
Commit-Queue: Corentin Wallez <cwallez@chromium.org>
This commit is contained in:
Corentin Wallez 2022-01-05 09:26:46 +00:00 committed by Dawn LUCI CQ
parent b4a4d3fd59
commit 7c8bc94bee
3 changed files with 1 additions and 13 deletions

View File

@ -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

View File

@ -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
)

View File

@ -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
)