mirror of
https://github.com/encounter/SDL.git
synced 2025-12-08 21:17:45 +00:00
cmake: Retrieve the git revision on platforms without bash
This commit is contained in:
committed by
Ryan C. Gordon
parent
6301cfda95
commit
67aacfe5c0
6
include/SDL_revision.h.cmake
Normal file
6
include/SDL_revision.h.cmake
Normal file
@@ -0,0 +1,6 @@
|
||||
#cmakedefine SDL_REVISION "@SDL_REVISION@"
|
||||
#define SDL_REVISION_NUMBER 0
|
||||
|
||||
#ifndef SDL_REVISION
|
||||
#define SDL_REVISION ""
|
||||
#endif
|
||||
Reference in New Issue
Block a user