summaryrefslogtreecommitdiff
path: root/bot
diff options
context:
space:
mode:
authorilotterytea <iltsu@alright.party>2025-12-04 17:47:33 +0500
committerilotterytea <iltsu@alright.party>2025-12-04 17:47:33 +0500
commit6711c33204deb3a10eb447f74813352ff24ec8e6 (patch)
tree00c3579050697cb9a1a62f168b560a86fc59b700 /bot
parent0c8746bb0e8ca470a7f682d3fcfb7a756bb9c6a5 (diff)
feat: display git commit ID as bot version
Diffstat (limited to 'bot')
-rw-r--r--bot/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
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}
)