1
0
mirror of https://github.com/RPCS3/rpcs3.git synced 2024-11-22 18:53:28 +01:00

Fix quoting in cmake

This commit is contained in:
Nikolay Amiantov 2018-02-23 21:44:29 +03:00 committed by Ani
parent 5266dd6c60
commit 41bd07274f

View File

@ -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}" EQUAL "")
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}" EQUAL "")
set(GIT_VERSION_UPDATE "0")
endif()
endif()