Skip to content

Commit

Permalink
Test workflow: specify c++ version
Browse files Browse the repository at this point in the history
  • Loading branch information
eliemichel committed Sep 23, 2024
1 parent c282706 commit 66a91b6
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/example/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,9 @@ add_executable(test)
target_sources(test PRIVATE main.cpp)
target_link_libraries(test PRIVATE webgpu)
target_copy_webgpu_binaries(test)
set_target_properties(test
PROPERTIES
CXX_STANDARD_REQUIRED ON
CXX_STANDARD 17
COMPILE_WARNING_AS_ERROR ON
)

0 comments on commit 66a91b6

Please sign in to comment.