From 0091b10eef736229e0808225f9f32276a34f422b Mon Sep 17 00:00:00 2001 From: MintoDA1 <51412913+MintoDA1@users.noreply.github.com> Date: Wed, 9 Aug 2023 15:30:05 -0400 Subject: [PATCH] Updated copyrights headers in CMakeLists.txt files and adjusted versioning for CMake --- CMakeLists.txt | 2 +- src/CMakeLists.txt | 2 +- swiftest/CMakeLists.txt | 9 +++++++++ 3 files changed, 11 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index eb996e7e0..f82ba3881 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -11,7 +11,7 @@ ################################################## # Define the project and the depencies that it has ################################################## -CMAKE_MINIMUM_REQUIRED(VERSION 3.20.1) +CMAKE_MINIMUM_REQUIRED(VERSION 3.5.0...3.27.1) # Get version stored in text file FILE(READ "version.txt" VERSION) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 132e17971..9cab5f7f3 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -1,4 +1,4 @@ -# Copyright 2022 - David Minton, Carlisle Wishard, Jennifer Pouplin, Jake Elliott, & Dana Singh +# Copyright 2023 - David Minton, Carlisle Wishard, Jennifer Pouplin, Jake Elliott, & Dana Singh # This file is part of Swiftest. # Swiftest 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. diff --git a/swiftest/CMakeLists.txt b/swiftest/CMakeLists.txt index 47ef721b3..8b41bc03c 100644 --- a/swiftest/CMakeLists.txt +++ b/swiftest/CMakeLists.txt @@ -1,3 +1,12 @@ +# Copyright 2023 - David Minton, Carlisle Wishard, Jennifer Pouplin, Jake Elliott, & Dana Singh +# This file is part of Swiftest. +# Swiftest 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. +# Swiftest 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 Swiftest. +# If not, see: https://www.gnu.org/licenses. + # Use the old method to get Python packages, as that's what scikit-build uses CMAKE_POLICY(SET CMP0148 OLD)