diff options
| author | 2019-09-22 17:22:08 -0400 | |
|---|---|---|
| committer | 2019-09-22 17:23:10 -0400 | |
| commit | 14248685afca9bb3fe0a11ed0b0586f6120a85c7 (patch) | |
| tree | 6ec214e844c32c18b106facf857a56e64cf8029c /src | |
| parent | ci: Split mainline pipeline and add support for GitHub releases (#2900) (diff) | |
| download | yuzu-14248685afca9bb3fe0a11ed0b0586f6120a85c7.tar.gz yuzu-14248685afca9bb3fe0a11ed0b0586f6120a85c7.tar.xz yuzu-14248685afca9bb3fe0a11ed0b0586f6120a85c7.zip | |
cmake: Add SCM detection for Azure
Diffstat (limited to '')
| -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 01abdb3bb..dfed8b51d 100644 --- a/src/common/CMakeLists.txt +++ b/src/common/CMakeLists.txt | |||
| @@ -10,6 +10,9 @@ if (DEFINED ENV{CI}) | |||
| 10 | elseif(DEFINED ENV{APPVEYOR}) | 10 | elseif(DEFINED ENV{APPVEYOR}) |
| 11 | set(BUILD_REPOSITORY $ENV{APPVEYOR_REPO_NAME}) | 11 | set(BUILD_REPOSITORY $ENV{APPVEYOR_REPO_NAME}) |
| 12 | set(BUILD_TAG $ENV{APPVEYOR_REPO_TAG_NAME}) | 12 | set(BUILD_TAG $ENV{APPVEYOR_REPO_TAG_NAME}) |
| 13 | elseif(DEFINED ENV{AZURE}) | ||
| 14 | set(BUILD_REPOSITORY $ENV{AZURE_REPO_NAME}) | ||
| 15 | set(BUILD_TAG $ENV{AZURE_REPO_TAG}) | ||
| 13 | endif() | 16 | endif() |
| 14 | endif() | 17 | endif() |
| 15 | add_custom_command(OUTPUT scm_rev.cpp | 18 | add_custom_command(OUTPUT scm_rev.cpp |