mirror of
https://github.com/RPCS3/rpcs3.git
synced 2026-01-17 22:21:07 +01:00
CD: Fix experimental build warning for Travis
This commit is contained in:
parent
6712ac0a72
commit
f5a51599d9
|
|
@ -42,7 +42,7 @@ function(gen_git_version rpcs3_src_dir)
|
|||
# BUILD_REPOSITORY_NAME will look like "RPCS3/rpcs3"
|
||||
# BUILD_SOURCEBRANCHNAME will look like "master"
|
||||
# See https://docs.microsoft.com/en-us/azure/devops/pipelines/build/variables
|
||||
if (DEFINED ENV{BUILD_REPOSITORY_NAME})
|
||||
if (DEFINED ENV{BUILD_REPOSITORY_NAME} AND NOT "$ENV{BUILD_REPOSITORY_NAME}" STREQUAL "")
|
||||
set(RPCS3_GIT_FULL_BRANCH "$ENV{BUILD_REPOSITORY_NAME}/$ENV{BUILD_SOURCEBRANCHNAME}")
|
||||
endif()
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue