From 6711c33204deb3a10eb447f74813352ff24ec8e6 Mon Sep 17 00:00:00 2001 From: ilotterytea Date: Thu, 4 Dec 2025 17:47:33 +0500 Subject: feat: display git commit ID as bot version --- bot/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bot') diff --git a/bot/CMakeLists.txt b/bot/CMakeLists.txt index c1e14e1..53771b5 100644 --- a/bot/CMakeLists.txt +++ b/bot/CMakeLists.txt @@ -18,7 +18,7 @@ endif() string(TIMESTAMP PROJECT_COMPILE_TIME "%s") target_compile_definitions(Bot PRIVATE - BOT_VERSION="${PROJECT_VERSION}" + BOT_VERSION="${BOT_VERSION_STRING}" BOT_COMPILED_TIMESTAMP=${PROJECT_COMPILE_TIME} ) -- cgit v1.2.3