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.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmake/scripts/buildinfo.cmake b/cmake/scripts/buildinfo.cmake
index 0d2d8870..ad23ca86 100644
--- a/cmake/scripts/buildinfo.cmake
+++ b/cmake/scripts/buildinfo.cmake
@@ -23,6 +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)
else()
string(TIMESTAMP SOL_VERSION_PRERELEASE "develop.%Y.%m.%d" UTC)
endif()