mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-07-11 01:25:07 +02:00
Fix typo breaking git-version.cpp gen in cmake.
This commit is contained in:
+2
-2
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user