summaryrefslogtreecommitdiffstats
path: root/CMakeModules
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2019-05-01 01:25:53 +0200
committerGitHub <noreply@github.com>2019-05-01 01:25:53 +0200
commitfb420358a99fb4a27cb48fd0e21c5c3f3a477c0c (patch)
tree9912969d87ca50de573ca73d69e9560dfcf02121 /CMakeModules
parentMerge pull request #2100 from FreddyFunk/disk-cache-precompiled-file (diff)
parentGenerateSCMRev: fix Travis compilation on repo forks (diff)
downloadyuzu-fb420358a99fb4a27cb48fd0e21c5c3f3a477c0c.tar
yuzu-fb420358a99fb4a27cb48fd0e21c5c3f3a477c0c.tar.gz
yuzu-fb420358a99fb4a27cb48fd0e21c5c3f3a477c0c.tar.bz2
yuzu-fb420358a99fb4a27cb48fd0e21c5c3f3a477c0c.tar.lz
yuzu-fb420358a99fb4a27cb48fd0e21c5c3f3a477c0c.tar.xz
yuzu-fb420358a99fb4a27cb48fd0e21c5c3f3a477c0c.tar.zst
yuzu-fb420358a99fb4a27cb48fd0e21c5c3f3a477c0c.zip
Diffstat (limited to 'CMakeModules')
-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")
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})