diff options
author | James Rowe <jroweboy@gmail.com> | 2019-09-22 18:14:08 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-09-22 18:14:08 -0600 |
commit | 2f5545f8de907d1e58b65d4f75b4403628d6a136 (patch) | |
tree | 27fcf6c5f21e1c28ef0887b1ca68cce4bbd770aa /src | |
parent | cc3db2aa43ee617ed5086976e0354c72feba713c (diff) | |
parent | 921dae5e831e015fb3dc947983c5333feeb75dcb (diff) |
Merge pull request #2901 from DarkLordZach/mainline-title-bar
ci: Properly parse Azure CI details in title bar
Diffstat (limited to 'src')
-rw-r--r-- | src/common/CMakeLists.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/common/CMakeLists.txt b/src/common/CMakeLists.txt index 01abdb3bb5..dfed8b51dc 100644 --- a/src/common/CMakeLists.txt +++ b/src/common/CMakeLists.txt @@ -10,6 +10,9 @@ if (DEFINED ENV{CI}) elseif(DEFINED ENV{APPVEYOR}) set(BUILD_REPOSITORY $ENV{APPVEYOR_REPO_NAME}) set(BUILD_TAG $ENV{APPVEYOR_REPO_TAG_NAME}) + elseif(DEFINED ENV{AZURE}) + set(BUILD_REPOSITORY $ENV{AZURE_REPO_NAME}) + set(BUILD_TAG $ENV{AZURE_REPO_TAG}) endif() endif() add_custom_command(OUTPUT scm_rev.cpp |