summaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authorjandegr <jandegr@users.noreply.github.com>2018-05-02 21:22:17 +0200
committerGitHub <noreply@github.com>2018-05-02 21:22:17 +0200
commitc6e644ec7702dbe80712e775f59215ce2df0dedc (patch)
treed6bf5460b26e44009482296a0b62cdf69b666fe5 /cmake
parent3de4a6cccf934cbd169e8189b782f440b3dd04d0 (diff)
downloadnavit-c6e644ec7702dbe80712e775f59215ce2df0dedc.tar.gz
rework:android:Move build system from ant to grandle (#553)
rework:android:Move build system from ant to grandle
Diffstat (limited to 'cmake')
-rwxr-xr-xcmake/version.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/version.cmake b/cmake/version.cmake
index e87806c54..0dd520a45 100755
--- a/cmake/version.cmake
+++ b/cmake/version.cmake
@@ -47,7 +47,7 @@ EXECUTE_PROCESS(
ERROR_STRIP_TRAILING_WHITESPACE
)
if(NOT DATE_CONVERT_ERROR)
- string(REGEX MATCH "[0-9]+" VERSION_CODE ${DATE_CONVERT_OUTPUT})
+ string(REGEX MATCH "[0-9]+" VERSION_CODE "${DATE_CONVERT_OUTPUT}")
else(NOT DATE_CONVERT_ERROR)
message(FATAL_ERROR "Date convert not working\nError message:\n${DATE_CONVERT_ERROR}")
endif(NOT DATE_CONVERT_ERROR)