summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar fearlessTobi2019-04-15 23:39:55 +0200
committerGravatar fearlessTobi2019-04-16 00:34:22 +0200
commitb67be7154d5dd46252d60b15774d0cfa689ed01e (patch)
tree0afecee2176b846a37b71ddd01b28e00d589fef5
parenttravis: use prebuilt image (#3839) (diff)
downloadyuzu-b67be7154d5dd46252d60b15774d0cfa689ed01e.tar.gz
yuzu-b67be7154d5dd46252d60b15774d0cfa689ed01e.tar.xz
yuzu-b67be7154d5dd46252d60b15774d0cfa689ed01e.zip
GenerateSCMRev: fix Travis compilation on repo forks
-rw-r--r--CMakeModules/GenerateSCMRev.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeModules/GenerateSCMRev.cmake b/CMakeModules/GenerateSCMRev.cmake
index 08315a1f1..5e00d839f 100644
--- a/CMakeModules/GenerateSCMRev.cmake
+++ b/CMakeModules/GenerateSCMRev.cmake
@@ -19,7 +19,7 @@ set(BUILD_VERSION "0")
19if (BUILD_REPOSITORY) 19if (BUILD_REPOSITORY)
20 # regex capture the string nightly or canary into CMAKE_MATCH_1 20 # regex capture the string nightly or canary into CMAKE_MATCH_1
21 string(REGEX MATCH "yuzu-emu/yuzu-?(.*)" OUTVAR ${BUILD_REPOSITORY}) 21 string(REGEX MATCH "yuzu-emu/yuzu-?(.*)" OUTVAR ${BUILD_REPOSITORY})
22 if (${CMAKE_MATCH_COUNT} GREATER 0) 22 if ("${CMAKE_MATCH_COUNT}" GREATER 0)
23 # capitalize the first letter of each word in the repo name. 23 # capitalize the first letter of each word in the repo name.
24 string(REPLACE "-" ";" REPO_NAME_LIST ${CMAKE_MATCH_1}) 24 string(REPLACE "-" ";" REPO_NAME_LIST ${CMAKE_MATCH_1})
25 foreach(WORD ${REPO_NAME_LIST}) 25 foreach(WORD ${REPO_NAME_LIST})