Skip to content

Commit 1ae231c

Browse files
committed
fix Linux build
1 parent 400f587 commit 1ae231c

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

examples/WebGPUDemo/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
# -lwayland-client -o spinning_triangle
2121

2222
cmake_minimum_required(VERSION 3.16)
23-
project(spinning_triangle LANGUAGES CXX)
23+
project(spinning_triangle LANGUAGES C CXX)
2424

2525
# ---------------------------------------------------------------------------
2626
# WebGPU backend — set WGPU_PATH to your wgpu-native or Dawn installation.
@@ -77,7 +77,7 @@ else()
7777
# Linux / Wayland — also needs the generated xdg-shell protocol glue.
7878
set(PLATFORM_SOURCES
7979
platform/platform_wayland.cpp
80-
xdg-shell-protocol.c
80+
platform/xdg-shell-protocol.c
8181
)
8282
set(PLATFORM_LIBS wayland-client)
8383
endif()

0 commit comments

Comments
 (0)