summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGravatar Zach Hilman2019-09-22 17:22:08 -0400
committerGravatar Zach Hilman2019-09-22 17:23:10 -0400
commit14248685afca9bb3fe0a11ed0b0586f6120a85c7 (patch)
tree6ec214e844c32c18b106facf857a56e64cf8029c /src
parentci: Split mainline pipeline and add support for GitHub releases (#2900) (diff)
downloadyuzu-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.txt3
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()
14endif() 17endif()
15add_custom_command(OUTPUT scm_rev.cpp 18add_custom_command(OUTPUT scm_rev.cpp