aboutsummaryrefslogtreecommitdiffstats
path: root/cmake/scripts/buildinfo.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'cmake/scripts/buildinfo.cmake')
-rw-r--r--cmake/scripts/buildinfo.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/scripts/buildinfo.cmake b/cmake/scripts/buildinfo.cmake
index ad23ca86..963c74e4 100644
--- a/cmake/scripts/buildinfo.cmake
+++ b/cmake/scripts/buildinfo.cmake
@@ -23,7 +23,7 @@ endif()
# If it does not exist, create our own prerelease string
if (EXISTS ${ETH_SOURCE_DIR}/prerelease.txt)
file(READ ${ETH_SOURCE_DIR}/prerelease.txt SOL_VERSION_PRERELEASE)
- string(STRIP ${SOL_VERSION_PRERELEASE} SOL_VERSION_PRERELEASE)
+ string(STRIP "${SOL_VERSION_PRERELEASE}" SOL_VERSION_PRERELEASE)
else()
string(TIMESTAMP SOL_VERSION_PRERELEASE "develop.%Y.%m.%d" UTC)
endif()