Fix typo breaking git-version.cpp gen in cmake.

This commit is contained in:
Unknown W. Brackets 2013-03-17 23:45:41 -07:00
parent 3ffffb3670
commit ef494f15e2

View File

@ -20,14 +20,14 @@ 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")
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()