mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2024-11-22 11:35:38 +01:00
cmake: Fixup application string
Co-Authored-By: ReinUsesLisp <reinuseslisp@airmail.cc>
This commit is contained in:
parent
bd928e70ed
commit
4ffb487251
@ -25,7 +25,7 @@ if ($ENV{CI})
|
|||||||
set(BUILD_TAG $ENV{APPVEYOR_REPO_TAG_NAME})
|
set(BUILD_TAG $ENV{APPVEYOR_REPO_TAG_NAME})
|
||||||
endif()
|
endif()
|
||||||
# regex capture the string nightly or canary into CMAKE_MATCH_1
|
# 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)
|
if (${CMAKE_MATCH_COUNT} GREATER 0)
|
||||||
# capitalize the first letter of each word in the repo name.
|
# capitalize the first letter of each word in the repo name.
|
||||||
string(REPLACE "-" ";" REPO_NAME_LIST ${CMAKE_MATCH_1})
|
string(REPLACE "-" ";" REPO_NAME_LIST ${CMAKE_MATCH_1})
|
||||||
@ -98,4 +98,4 @@ foreach (F IN LISTS HASH_FILES)
|
|||||||
set(COMBINED "${COMBINED}${TMP}")
|
set(COMBINED "${COMBINED}${TMP}")
|
||||||
endforeach()
|
endforeach()
|
||||||
string(MD5 SHADER_CACHE_VERSION "${COMBINED}")
|
string(MD5 SHADER_CACHE_VERSION "${COMBINED}")
|
||||||
configure_file("${SRC_DIR}/src/common/scm_rev.cpp.in" "scm_rev.cpp" @ONLY)
|
configure_file("${SRC_DIR}/src/common/scm_rev.cpp.in" "scm_rev.cpp" @ONLY)
|
||||||
|
Loading…
Reference in New Issue
Block a user