mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-08-09 17:49:45 +00:00
Chase GIT_VERSION rename after 923700a167
This commit is contained in:
parent
de5379a69f
commit
240ba39d16
1 changed files with 3 additions and 3 deletions
|
@ -61,15 +61,15 @@ function(gen_git_version rpcs3_src_dir)
|
||||||
|
|
||||||
# Don't update if it's already the same.
|
# Don't update if it's already the same.
|
||||||
file(STRINGS ${GIT_VERSION_FILE} match
|
file(STRINGS ${GIT_VERSION_FILE} match
|
||||||
REGEX "${GIT_VERSION}")
|
REGEX "${RPCS3_GIT_VERSION}")
|
||||||
if(NOT "${match}" STREQUAL "")
|
if(NOT "${match}" STREQUAL "")
|
||||||
set(GIT_VERSION_UPDATE "0")
|
set(GIT_VERSION_UPDATE "0")
|
||||||
endif()
|
endif()
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
set(code_string "// This is a generated file.\n\n"
|
set(code_string "// This is a generated file.\n\n"
|
||||||
"#define RPCS3_GIT_VERSION \"${GIT_VERSION}\"\n"
|
"#define RPCS3_GIT_VERSION \"${RPCS3_GIT_VERSION}\"\n"
|
||||||
"#define RPCS3_GIT_BRANCH \"${GIT_BRANCH}\"\n\n"
|
"#define RPCS3_GIT_BRANCH \"${RPCS3_GIT_BRANCH}\"\n\n"
|
||||||
"// If you don't want this file to update/recompile, change to 1.\n"
|
"// If you don't want this file to update/recompile, change to 1.\n"
|
||||||
"#define RPCS3_GIT_VERSION_NO_UPDATE 0\n")
|
"#define RPCS3_GIT_VERSION_NO_UPDATE 0\n")
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue