Przeglądaj źródła

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 <[email protected]>
Simon McVittie 1 tydzień temu
rodzic
commit
d5b79418f4
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      CMakeLists.txt

+ 1 - 1
CMakeLists.txt

@@ -3645,7 +3645,7 @@ endif()
 if(NOT SDL_REVISION)
   # If SDL_REVISION is not overrided, use git to describe
   git_describe(SDL_REVISION_GIT)
-  set(SDL_REVISION "SDL3-${SDL3_VERSION}-${SDL_REVISION_GIT}")
+  set(SDL_REVISION "SDL-${SDL3_VERSION}-${SDL_REVISION_GIT}")
 endif()
 
 execute_process(COMMAND "${CMAKE_COMMAND}" -E make_directory "${SDL3_BINARY_DIR}/include-revision/SDL3")