From 98856a61d5a51d6390e7d94161643b94acb231a3 Mon Sep 17 00:00:00 2001 From: Eugen Wissner Date: Sun, 20 Jul 2025 12:08:23 +0200 Subject: Set project version --- CMakeLists.txt | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index ae5077d..1c9d1b0 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,5 +1,20 @@ +# Copyright (C) 2013-2025 Eugen Wissner +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . + cmake_minimum_required(VERSION 3.21) -project(slack-timedate) +project(slack-timedate VERSION 2.1) include(GNUInstallDirs) @@ -8,3 +23,5 @@ set(CMAKE_CXX_STANDARD 17) add_subdirectory(data) add_subdirectory(src) + +set_property(GLOBAL PROPERTY VERSION ${PROJECT_VERSION}) -- cgit v1.2.3