cmake: Retrieve the git revision on platforms without bash

This commit is contained in:
Cameron Cawley authored and Ryan C. Gordon committed 2021-09-09 22:34:42 -04:00
1 parent 6301cfda95
commit 67aacfe5c0
2 files changed
+34 -4

No files matched your search

+6
View File
@@ -0,0 +1,6 @@
#cmakedefine SDL_REVISION "@SDL_REVISION@"
#define SDL_REVISION_NUMBER 0
#ifndef SDL_REVISION
#define SDL_REVISION ""
#endif