2021-09-12 08:04:51 +00:00
|
|
|
--- a/CMakeLists.txt
|
|
|
|
+++ b/CMakeLists.txt
|
2022-04-30 09:41:42 +00:00
|
|
|
@@ -2643,7 +2643,7 @@
|
2021-09-12 08:04:51 +00:00
|
|
|
|
2021-12-04 13:12:06 +00:00
|
|
|
# Compat helpers for the configuration files
|
|
|
|
find_package(Git)
|
2021-12-04 11:46:32 +00:00
|
|
|
-if(Git_FOUND)
|
2021-12-04 13:12:06 +00:00
|
|
|
+if(0)
|
|
|
|
execute_process(COMMAND
|
|
|
|
"${GIT_EXECUTABLE}" remote get-url origin
|
|
|
|
WORKING_DIRECTORY "${CMAKE_SOURCE_DIR}"
|
2022-04-30 09:41:42 +00:00
|
|
|
@@ -2664,7 +2664,7 @@
|
2021-12-04 13:12:06 +00:00
|
|
|
set(SDL_REVISION "")
|
|
|
|
endif()
|
|
|
|
else()
|
2021-12-04 11:46:32 +00:00
|
|
|
- set(SDL_REVISION "")
|
2022-04-30 09:41:42 +00:00
|
|
|
+ set(SDL_REVISION "https://github.com/libsdl-org/SDL.git@53dea9830964eee8b5c2a7ee0a65d6e268dc78a1")
|
2021-12-04 13:12:06 +00:00
|
|
|
endif()
|
2021-09-12 08:04:51 +00:00
|
|
|
|
2021-12-04 11:46:32 +00:00
|
|
|
configure_file("${SDL2_SOURCE_DIR}/include/SDL_revision.h.cmake"
|