From 7e7aee68e4ea033a08fb0e66f31da49f4e6bbeea Mon Sep 17 00:00:00 2001 From: Sasha Szpakowski Date: Wed, 25 Dec 2024 20:27:03 -0400 Subject: [PATCH] update SDL3 to libsdl-org/SDL@b8036bd --- Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 7af3985..622b537 100644 --- a/Makefile +++ b/Makefile @@ -15,7 +15,8 @@ LOVE_REPOSITORY := https://github.com/love2d/love # Project branches (for git-based projects) LOVE_BRANCH := main -SDL3_BRANCH := preview-3.1.6 +SDL3_BRANCH := main +SDL3_REV := b8036bdd41dfc48c614a1a023804306687fcc4c8 LUAJIT_BRANCH := v2.1 OPENAL_BRANCH := 1.23.1 ZLIB_BRANCH := v1.3 @@ -82,7 +83,8 @@ endif override SDL3_PATH := SDL3-$(SDL3_BRANCH) $(SDL3_PATH)/CMakeLists.txt: - git clone --depth 1 -b $(SDL3_BRANCH) https://github.com/libsdl-org/SDL $(SDL3_PATH) + git clone --depth 4000 -b $(SDL3_BRANCH) https://github.com/libsdl-org/SDL $(SDL3_PATH) + cd $(SDL3_PATH) && git checkout $(SDL3_REV) $(SDL3_PATH)/build/CMakeCache.txt: $(CMAKE) $(SDL3_PATH)/CMakeLists.txt $(CMAKE) -B$(SDL3_PATH)/build -S$(SDL3_PATH) $(CMAKE_OPTS)