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
@@ -95,7 +95,7 @@ void libcurl::curl_thread_fn()
};
#endif
std::string user_agent = std::string("WiVRn/") + wivrn::git_version;
std::string user_agent = std::string("WiVRn/") + wivrn::display_version();
// We can't use auto here because of curl_easy_setopt
size_t (*write_callback)(void *, size_t, size_t, void *) = [](void * buffer, size_t size, size_t nmemb, void * userp) -> size_t {