Fix quoting in cmake
This commit is contained in:
committed by
Zangetsu38
parent
4f4aa2cac5
commit
fdd5e4ee1e
@@ -40,14 +40,14 @@ if(EXISTS ${GIT_VERSION_FILE})
|
|||||||
# Don't update if marked not to update.
|
# Don't update if marked not to update.
|
||||||
file(STRINGS ${GIT_VERSION_FILE} match
|
file(STRINGS ${GIT_VERSION_FILE} match
|
||||||
REGEX "RPCS3_GIT_VERSION_NO_UPDATE 1")
|
REGEX "RPCS3_GIT_VERSION_NO_UPDATE 1")
|
||||||
if(NOT ${match} EQUAL "")
|
if(NOT "${match}" EQUAL "")
|
||||||
set(GIT_VERSION_UPDATE "0")
|
set(GIT_VERSION_UPDATE "0")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
# 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 "${GIT_VERSION}")
|
||||||
if(NOT ${match} EQUAL "")
|
if(NOT "${match}" EQUAL "")
|
||||||
set(GIT_VERSION_UPDATE "0")
|
set(GIT_VERSION_UPDATE "0")
|
||||||
endif()
|
endif()
|
||||||
endif()
|
endif()
|
||||||
|
|||||||
Reference in New Issue
Block a user