mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-04-20 19:45:20 +00:00
Fix git-version.h not correctly updating.
This commit is contained in:
parent
1ae724f739
commit
32d38a4633
1 changed files with 2 additions and 2 deletions
|
@ -40,14 +40,14 @@ if(EXISTS ${GIT_VERSION_FILE})
|
|||
# Don't update if marked not to update.
|
||||
file(STRINGS ${GIT_VERSION_FILE} match
|
||||
REGEX "RPCS3_GIT_VERSION_NO_UPDATE 1")
|
||||
if(NOT "${match}" EQUAL "")
|
||||
if(NOT "${match}" STREQUAL "")
|
||||
set(GIT_VERSION_UPDATE "0")
|
||||
endif()
|
||||
|
||||
# Don't update if it's already the same.
|
||||
file(STRINGS ${GIT_VERSION_FILE} match
|
||||
REGEX "${GIT_VERSION}")
|
||||
if(NOT "${match}" EQUAL "")
|
||||
if(NOT "${match}" STREQUAL "")
|
||||
set(GIT_VERSION_UPDATE "0")
|
||||
endif()
|
||||
endif()
|
||||
|
|
Loading…
Add table
Reference in a new issue