From 158a5d2d72d38f0d8a811c33e836b5b585d9f82d Mon Sep 17 00:00:00 2001 From: CommanderRedYT Date: Mon, 26 Dec 2022 14:15:16 +0100 Subject: [PATCH] Fixed compiling for dumb commit messages --- main/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/main/CMakeLists.txt b/main/CMakeLists.txt index e0db648..3762eff 100644 --- a/main/CMakeLists.txt +++ b/main/CMakeLists.txt @@ -522,6 +522,7 @@ string(SUBSTRING "${GIT_REV}" 1 7 GIT_SHORT_REV) string(STRIP "${GIT_MESSAGE}" GIT_MESSAGE) string(REPLACE "\n" " " GIT_MESSAGE "${GIT_MESSAGE}") string(REPLACE "\"" "\\\"" GIT_MESSAGE "${GIT_MESSAGE}") +string(REPLACE ";" " " GIT_MESSAGE "${GIT_MESSAGE}") string(SUBSTRING "${GIT_MESSAGE}" 0 100 GIT_MESSAGE) string(STRIP "${GIT_BRANCH}" GIT_BRANCH)