Port build-script from SDL3

[ci skip]
This commit is contained in:
Anonymous Maarten committed 2024-11-02 01:58:46 +01:00
1 parent 15bc3f25ee
commit 48aa1cccf7
7 files changed
+816 -360

No files matched your search

+2 -2
View File
@@ -3081,8 +3081,8 @@ endif()
# Compat helpers for the configuration files
if(EXISTS "${PROJECT_SOURCE_DIR}/VERSION.txt")
file(READ "${PROJECT_SOURCE_DIR}/VERSION.txt" SDL_SOURCE_VERSION)
if(EXISTS "${PROJECT_SOURCE_DIR}/REVISION.txt")
file(READ "${PROJECT_SOURCE_DIR}/REVISION.txt" SDL_SOURCE_VERSION)
string(STRIP "${SDL_SOURCE_VERSION}" SDL_SOURCE_VERSION)
endif()