Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mumble-voip/mumble.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Adam <krzmbrzl@gmail.com>2021-02-23 19:37:56 +0300
committerRobert Adam <krzmbrzl@gmail.com>2021-02-23 19:39:58 +0300
commitb20d3b2642de6143d810edd141826674158cf751 (patch)
treeb2d021d06e9d31b6a8cb9cc96735c3d495bf19cf /CMakeLists.txt
parent2da30bbb6dff97329e568771174090f59c7fe4da (diff)
FIX(client): Outdated copyright notice
The copyright end year displayed in the About dialog was hardcoded to 2020. This commit replaces the hardcoded version with a dynamic version that uses the year the software was actually built as the end date. Fixes #4784
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 8d09366fd..856d1eca1 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -105,6 +105,9 @@ if(tests)
endif()
+# Make the build year accessible as a macro
+add_compile_definitions(MUMBLE_BUILD_YEAR=${MUMBLE_BUILD_YEAR})
+
add_subdirectory(src)
if(g15 AND WIN32)