Fix PPSSPP_GIT_VERSION_NO_UPDATE 1.

This commit is contained in:
sergiobenrocha2 2015-09-21 19:26:29 -03:00
parent 662d5fc9da
commit a50f04710e

View File

@ -19,7 +19,7 @@ endif()
if(EXISTS ${GIT_VERSION_FILE})
# Don't update if marked not to update.
file(STRINGS ${GIT_VERSION_FILE} match
REGEX "PPSSPP_GIT_VERSION_NO_UPDATE = 1")
REGEX "PPSSPP_GIT_VERSION_NO_UPDATE 1")
if(NOT ${match} EQUAL "")
set(GIT_VERSION_UPDATE "0")
endif()