From 6628a231e2d9b8a4f30e31c53ce952a6f6d14c6b Mon Sep 17 00:00:00 2001 From: Dennis Klein Date: Mon, 19 Aug 2024 19:28:03 +0200 Subject: [PATCH] build: Adopt all CMake policies up to 3.30 Modernizing to the policy range syntax supported by [`cmake_minimum_required`](https://cmake.org/cmake/help/latest/command/cmake_minimum_required.html) since CMake 3.12. --- CMakeLists.txt | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 428625b5..4a416405 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,5 +1,5 @@ ################################################################################ -# Copyright (C) 2018-2023 GSI Helmholtzzentrum fuer Schwerionenforschung GmbH # +# Copyright (C) 2018-2024 GSI Helmholtzzentrum fuer Schwerionenforschung GmbH # # # # This software is distributed under the terms of the # # GNU Lesser General Public Licence (LGPL) version 3, # @@ -8,8 +8,7 @@ # Project ###################################################################### -cmake_minimum_required(VERSION 3.15 FATAL_ERROR) -cmake_policy(VERSION 3.15...3.26) +cmake_minimum_required(VERSION 3.15...3.30 FATAL_ERROR) list(PREPEND CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake) include(GitHelper)