cmake: Retrieve the git revision on platforms without bash

This commit is contained in:
Cameron Cawley
2021-09-09 17:59:47 +01:00
committed by Ryan C. Gordon
parent 6301cfda95
commit 67aacfe5c0
2 changed files with 34 additions and 4 deletions

View File

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