From b20d3b2642de6143d810edd141826674158cf751 Mon Sep 17 00:00:00 2001 From: Robert Adam Date: Tue, 23 Feb 2021 17:37:56 +0100 Subject: 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 --- CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) (limited to 'CMakeLists.txt') 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) -- cgit v1.2.3