From a47064966b713991de3e4e64cca2be6bf076a707 Mon Sep 17 00:00:00 2001 From: ocornut Date: Wed, 22 Oct 2025 13:38:45 +0200 Subject: [PATCH] Examples: GLFW+WebGPU: fixed cmakefile for example to use legacy path. (#8381) Amend 71447b94f --- examples/example_glfw_wgpu/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/example_glfw_wgpu/CMakeLists.txt b/examples/example_glfw_wgpu/CMakeLists.txt index 8e164e488..d21bb0919 100644 --- a/examples/example_glfw_wgpu/CMakeLists.txt +++ b/examples/example_glfw_wgpu/CMakeLists.txt @@ -34,7 +34,7 @@ if(EMSCRIPTEN) set(IMGUI_EMSCRIPTEN_GLFW3 "-sUSE_GLFW=3" CACHE STRING "Use -sUSE_GLFW=3 for GLFW implementation" FORCE) endif() set(LIBRARIES glfw) - add_compile_options(-sDISABLE_EXCEPTION_CATCHING=1 -DIMGUI_DISABLE_FILE_FUNCTIONS=1) + add_compile_options(-sDISABLE_EXCEPTION_CATCHING=1 -DIMGUI_DISABLE_FILE_FUNCTIONS=1 -DIMGUI_IMPL_WEBGPU_BACKEND_WGPU) else() # Dawn wgpu desktop set(DAWN_FETCH_DEPENDENCIES ON)