cmake: explicit GIT_TAG for releases

Tagged versions shouls use GIT_TAG instead of GIT_DESC+GIT_COMMIT
When using GIT_TAG, apk download will be done from WiVRn releases
In other cases, GIT_COMMIT will be used to download from WiVRn-APK
releases.

If none is set, git is used to compute the values
This commit is contained in:
Patrick Nicolas
2026-06-14 17:25:12 +02:00
parent 0f6da3498e
commit 29b1770ba0
8 changed files with 80 additions and 47 deletions
+1 -1
View File
@@ -2,8 +2,8 @@
namespace wivrn
{
extern const char git_version[];
extern const char git_commit[];
extern const bool is_tag;
const char * display_version();
} // namespace wivrn