Skip to content

Commit

Permalink
Add WEBGPU_BACKEND property strings for combobox in CMake GUI.
Browse files Browse the repository at this point in the history
  • Loading branch information
jpvanoosten committed Jun 18, 2024
1 parent f3c3e9a commit 761a2de
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions webgpu.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
include(FetchContent)

set(WEBGPU_BACKEND "WGPU" CACHE STRING "Backend implementation of WebGPU. Possible values are EMSCRIPTEN, WGPU, WGPU_STATIC and DAWN (it does not matter when using emcmake)")
set_property(CACHE WEBGPU_BACKEND PROPERTY STRINGS EMSCRIPTEN WGPU WGPU_STATIC DAWN )

# FetchContent's GIT_SHALLOW option is buggy and does not actually do a shallow
# clone. This macro takes care of it.
Expand Down

0 comments on commit 761a2de

Please sign in to comment.