Skip to content

Commit 6407b2b

Browse files
committed
Fix Emscripten CI build
Emscripten was updated upstream with experimental SDL3 support. Set our CMake configuration to use SDL2 until the support for the next major version is more stable.
1 parent 30031ba commit 6407b2b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,8 @@ jobs:
198198
source emsdk-master/emsdk_env.sh
199199
emcmake cmake -B Build --preset samples -Wdev -Werror=dev -DCMAKE_BUILD_TYPE=Release \
200200
-DBUILD_SHARED_LIBS=OFF -DRMLUI_WARNINGS_AS_ERRORS=ON \
201-
-DCMAKE_MODULE_PATH=$GITHUB_WORKSPACE/CMake/Modules/Emscripten
201+
-DCMAKE_MODULE_PATH=$GITHUB_WORKSPACE/CMake/Modules/Emscripten \
202+
-DRMLUI_SDL_VERSION_MAJOR=2
202203
203204
- name: Build
204205
run: |-

0 commit comments

Comments
 (0)