diff options
author | bunnei <bunneidev@gmail.com> | 2019-11-06 16:08:27 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-11-06 16:08:27 +0100 |
commit | 4d66ca97e5e0b5d57b0be3e0f4a82d5535b8270b (patch) | |
tree | e5e0a5ed444320b6b71f03b6f5612556dc8fa069 | |
parent | Merge pull request #3062 from bunnei/event-improve (diff) | |
parent | ci: Populate build repository from Azure environment (diff) | |
download | yuzu-4d66ca97e5e0b5d57b0be3e0f4a82d5535b8270b.tar yuzu-4d66ca97e5e0b5d57b0be3e0f4a82d5535b8270b.tar.gz yuzu-4d66ca97e5e0b5d57b0be3e0f4a82d5535b8270b.tar.bz2 yuzu-4d66ca97e5e0b5d57b0be3e0f4a82d5535b8270b.tar.lz yuzu-4d66ca97e5e0b5d57b0be3e0f4a82d5535b8270b.tar.xz yuzu-4d66ca97e5e0b5d57b0be3e0f4a82d5535b8270b.tar.zst yuzu-4d66ca97e5e0b5d57b0be3e0f4a82d5535b8270b.zip |
-rw-r--r-- | src/common/CMakeLists.txt | 13 |
1 files changed, 2 insertions, 11 deletions
diff --git a/src/common/CMakeLists.txt b/src/common/CMakeLists.txt index 9c6f1c07c..9b0c3db68 100644 --- a/src/common/CMakeLists.txt +++ b/src/common/CMakeLists.txt @@ -3,17 +3,8 @@ # could affect the result, but much more unlikely than the following files. Keeping a list of files # like this allows for much better caching since it doesn't force the user to recompile binary shaders every update set(VIDEO_CORE "${CMAKE_SOURCE_DIR}/src/video_core") -if (DEFINED ENV{CI}) - if (DEFINED ENV{TRAVIS}) - set(BUILD_REPOSITORY $ENV{TRAVIS_REPO_SLUG}) - set(BUILD_TAG $ENV{TRAVIS_TAG}) - 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() +if (DEFINED ENV{AZURECIREPO}) + set(BUILD_REPOSITORY $ENV{AZURECIREPO}) endif() if (DEFINED ENV{TITLEBARFORMATIDLE}) set(TITLE_BAR_FORMAT_IDLE $ENV{TITLEBARFORMATIDLE}) |