mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-06-01 23:07:45 +08:00
build-scripts: Include SDL- prefix in SDL_REVISION when built from tarball
https://github.com/libsdl-org/SDL/issues/14575 Signed-off-by: Simon McVittie <smcv@collabora.com>
This commit is contained in:
committed by
Sam Lantinga
parent
3313cb9c4b
commit
cc681ffeda
@@ -33,9 +33,9 @@
|
|||||||
#cmakedefine SDL_VENDOR_INFO "@SDL_VENDOR_INFO@"
|
#cmakedefine SDL_VENDOR_INFO "@SDL_VENDOR_INFO@"
|
||||||
|
|
||||||
#if defined(SDL_VENDOR_INFO)
|
#if defined(SDL_VENDOR_INFO)
|
||||||
#define SDL_REVISION "@<@PROJECT_REVISION@>@ (" SDL_VENDOR_INFO ")"
|
#define SDL_REVISION "SDL-@<@PROJECT_REVISION@>@ (" SDL_VENDOR_INFO ")"
|
||||||
#else
|
#else
|
||||||
#define SDL_REVISION "@<@PROJECT_REVISION@>@"
|
#define SDL_REVISION "SDL-@<@PROJECT_REVISION@>@"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif /* SDL_revision_h_ */
|
#endif /* SDL_revision_h_ */
|
||||||
|
|||||||
@@ -48,9 +48,9 @@
|
|||||||
*/
|
*/
|
||||||
#define SDL_REVISION "Some arbitrary string decided at SDL build time"
|
#define SDL_REVISION "Some arbitrary string decided at SDL build time"
|
||||||
#elif defined(SDL_VENDOR_INFO)
|
#elif defined(SDL_VENDOR_INFO)
|
||||||
#define SDL_REVISION "@<@PROJECT_REVISION@>@ (" SDL_VENDOR_INFO ")"
|
#define SDL_REVISION "SDL-@<@PROJECT_REVISION@>@ (" SDL_VENDOR_INFO ")"
|
||||||
#else
|
#else
|
||||||
#define SDL_REVISION "@<@PROJECT_REVISION@>@"
|
#define SDL_REVISION "SDL-@<@PROJECT_REVISION@>@"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif /* SDL_revision_h_ */
|
#endif /* SDL_revision_h_ */
|
||||||
|
|||||||
Reference in New Issue
Block a user