Skip to content

Commit e509fdb

Browse files
committed
fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! Test Pyodide builds
1 parent 9c49d88 commit e509fdb

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

build_sdl.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,8 @@
123123
)
124124
)
125125

126-
CMAKE_FIND_SDL_CMD = ("cmake", "--find-package", "-D", "NAME=SDL3", "-D", "COMPILER_ID=GNU", "-D", "LANGUAGE=C")
126+
CMAKE_CMD = "emcmake" if "PYODIDE" in os.environ else "cmake"
127+
CMAKE_FIND_SDL_CMD = (CMAKE_CMD, "--find-package", "-D", "NAME=SDL3", "-D", "COMPILER_ID=GNU", "-D", "LANGUAGE=C")
127128

128129

129130
def check_sdl_version() -> None:

0 commit comments

Comments
 (0)