From 30c9e49e197254b7f1ee6375ba70dbf134fd4078 Mon Sep 17 00:00:00 2001 From: klei1984 <53688147+klei1984@users.noreply.github.com> Date: Fri, 19 Jul 2024 23:21:06 +0200 Subject: [PATCH] Workaround for CMake. --- cmake/setup.cmake | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmake/setup.cmake b/cmake/setup.cmake index 968fd7d..5363326 100644 --- a/cmake/setup.cmake +++ b/cmake/setup.cmake @@ -27,7 +27,7 @@ if(Git_FOUND) set(GAME_VERSION_MAJOR ${CMAKE_MATCH_1}) set(GAME_VERSION_MINOR ${CMAKE_MATCH_2}) set(GAME_VERSION_PATCH ${CMAKE_MATCH_3}) - set(GAME_VERSION_STRING "${GAME_VERSION_MAJOR}.${GAME_VERSION_MINOR}.${GAME_VERSION_PATCH}") + set(GAME_VERSION_STRING "${GAME_VERSION_MAJOR}.${GAME_VERSION_MINOR}.${GAME_VERSION_PATCH} ") else() string(REGEX MATCH "^([a-fA-F0-9]+)$" GIT_MATCHES "${GIT_OUTPUT}") if(CMAKE_MATCH_COUNT EQUAL 1) @@ -46,7 +46,7 @@ else() set(GAME_VERSION_MAJOR "0") set(GAME_VERSION_MINOR "7") set(GAME_VERSION_PATCH "0") - set(GAME_VERSION_STRING "${GAME_VERSION_MAJOR}.${GAME_VERSION_MINOR}.${GAME_VERSION_PATCH}") + set(GAME_VERSION_STRING "${GAME_VERSION_MAJOR}.${GAME_VERSION_MINOR}.${GAME_VERSION_PATCH} ") endif() message(STATUS "Set build version to v${GAME_VERSION_STRING}")