mirror of
https://github.com/RPCS3/rpcs3.git
synced 2024-11-25 12:12:50 +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_REPOSITORY_NAME will look like "RPCS3/rpcs3"
|
||||||
# BUILD_SOURCEBRANCHNAME will look like "master"
|
# BUILD_SOURCEBRANCHNAME will look like "master"
|
||||||
# See https://docs.microsoft.com/en-us/azure/devops/pipelines/build/variables
|
# 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}")
|
set(RPCS3_GIT_FULL_BRANCH "$ENV{BUILD_REPOSITORY_NAME}/$ENV{BUILD_SOURCEBRANCHNAME}")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user