Pin SDL3 to release 3.2.28 for Emscripten

This commit is contained in:
Christian Semmler 2025-12-18 16:45:00 -07:00
parent 08a58092f9
commit 20dc48eb81
No known key found for this signature in database
GPG Key ID: 086DAA1360BEEE5C

View File

@ -102,6 +102,14 @@ if (DOWNLOAD_DEPENDENCIES)
EXCLUDE_FROM_ALL EXCLUDE_FROM_ALL
) )
set(CMAKE_DISABLE_PRECOMPILE_HEADERS ON CACHE BOOL "Disable PCH globally" FORCE) set(CMAKE_DISABLE_PRECOMPILE_HEADERS ON CACHE BOOL "Disable PCH globally" FORCE)
elseif (EMSCRIPTEN)
FetchContent_Declare(
SDL3
GIT_REPOSITORY "https://github.com/libsdl-org/SDL.git"
GIT_TAG "release-3.2.28"
UPDATE_DISCONNECTED TRUE
EXCLUDE_FROM_ALL
)
else() else()
FetchContent_Declare( FetchContent_Declare(
SDL3 SDL3