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:
+1
-1
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user