mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-05-31 22:42:52 +08:00
build: Prefix version from git with SDL- rather than SDL3-
We can tell it's SDL 3 from the version number and git revision, so there's no need to duplicate that in the prefix. Signed-off-by: Simon McVittie <smcv@collabora.com>
This commit is contained in:
committed by
Sam Lantinga
parent
e5c28c5326
commit
d5b79418f4
+1
-1
@@ -3645,7 +3645,7 @@ endif()
|
|||||||
if(NOT SDL_REVISION)
|
if(NOT SDL_REVISION)
|
||||||
# If SDL_REVISION is not overrided, use git to describe
|
# If SDL_REVISION is not overrided, use git to describe
|
||||||
git_describe(SDL_REVISION_GIT)
|
git_describe(SDL_REVISION_GIT)
|
||||||
set(SDL_REVISION "SDL3-${SDL3_VERSION}-${SDL_REVISION_GIT}")
|
set(SDL_REVISION "SDL-${SDL3_VERSION}-${SDL_REVISION_GIT}")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
execute_process(COMMAND "${CMAKE_COMMAND}" -E make_directory "${SDL3_BINARY_DIR}/include-revision/SDL3")
|
execute_process(COMMAND "${CMAKE_COMMAND}" -E make_directory "${SDL3_BINARY_DIR}/include-revision/SDL3")
|
||||||
|
|||||||
Reference in New Issue
Block a user