diff options
| author | fearlessTobi <thm.frey@gmail.com> | 2019-04-15 23:39:55 +0200 |
|---|---|---|
| committer | fearlessTobi <thm.frey@gmail.com> | 2019-04-16 00:34:22 +0200 |
| commit | 2e197250dc1bbef5ccdf5eeb6dc8a5cb218793a9 (patch) | |
| tree | 0afecee2176b846a37b71ddd01b28e00d589fef5 /CMakeModules/GenerateSCMRev.cmake | |
| parent | 831f7ffed903905b257781ce0845b985295bab21 (diff) | |
GenerateSCMRev: fix Travis compilation on repo forks
Diffstat (limited to 'CMakeModules/GenerateSCMRev.cmake')
| -rw-r--r-- | CMakeModules/GenerateSCMRev.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeModules/GenerateSCMRev.cmake b/CMakeModules/GenerateSCMRev.cmake index 08315a1f1e..5e00d839fa 100644 --- a/CMakeModules/GenerateSCMRev.cmake +++ b/CMakeModules/GenerateSCMRev.cmake @@ -19,7 +19,7 @@ set(BUILD_VERSION "0") if (BUILD_REPOSITORY) # regex capture the string nightly or canary into CMAKE_MATCH_1 string(REGEX MATCH "yuzu-emu/yuzu-?(.*)" OUTVAR ${BUILD_REPOSITORY}) - if (${CMAKE_MATCH_COUNT} GREATER 0) + if ("${CMAKE_MATCH_COUNT}" GREATER 0) # capitalize the first letter of each word in the repo name. string(REPLACE "-" ";" REPO_NAME_LIST ${CMAKE_MATCH_1}) foreach(WORD ${REPO_NAME_LIST}) |
