Browse Source

cmake: Fixup application string

Co-Authored-By: ReinUsesLisp <reinuseslisp@airmail.cc>
nce_cpp
Michael 7 years ago
committed by ReinUsesLisp
parent
commit
38e14d1876
  1. 2
      CMakeModules/GenerateSCMRev.cmake

2
CMakeModules/GenerateSCMRev.cmake

@ -25,7 +25,7 @@ if ($ENV{CI})
set(BUILD_TAG $ENV{APPVEYOR_REPO_TAG_NAME})
endif()
# regex capture the string nightly or canary into CMAKE_MATCH_1
string(REGEX MATCH "citra-emu/citra-?(.*)" OUTVAR ${BUILD_REPOSITORY})
string(REGEX MATCH "yuzu-emu/yuzu-?(.*)" OUTVAR ${BUILD_REPOSITORY})
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})

Loading…
Cancel
Save