solstice

Compute collected power and efficiencies of a solar plant
git clone git://git.meso-star.com/solstice.git
Log | Files | Refs | README | LICENSE

commit 87e9ef278bddde5c2d485535ee5c0c1fa8764ac6
parent 0069f1021956e47d21b04444e8c3b64eab3d0e8e
Author: Vincent Forest <vincent.forest@meso-star.com>
Date:   Tue, 19 Oct 2021 15:51:41 +0200

Set CMake minimum version to 3.1

CMake 2.8 is deprecated

Diffstat:
Mcmake/CMakeLists.txt | 2+-
Mcmake/LibYAMLConfig.cmake | 4++--
Mcmake/doc/CMakeLists.txt | 2+-
Mcmake/parser/CMakeLists.txt | 2+-
Mcmake/receivers/CMakeLists.txt | 2+-
5 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/cmake/CMakeLists.txt b/cmake/CMakeLists.txt @@ -13,7 +13,7 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. -cmake_minimum_required(VERSION 2.8) +cmake_minimum_required(VERSION 3.1) project(solstice C) enable_testing() diff --git a/cmake/LibYAMLConfig.cmake b/cmake/LibYAMLConfig.cmake @@ -1,4 +1,4 @@ -# Copyright (C) 2015-2016 CNRS +# Copyright (C) 2016-2018 CNRS, 2018-2019 |Meso|Star> # # 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 @@ -13,7 +13,7 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. -cmake_minimum_required(VERSION 2.8) +cmake_minimum_required(VERSION 3.1) # Try to find the LibYAML devel. Once done this will define: # - LibYAML_FOUND: system has LibYAML diff --git a/cmake/doc/CMakeLists.txt b/cmake/doc/CMakeLists.txt @@ -13,7 +13,7 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. -cmake_minimum_required(VERSION 2.8) +cmake_minimum_required(VERSION 3.1) string(REGEX MATCH ".*HTML.*" _html ${SOLSTICE_DOC}) string(REGEX MATCH ".*ROFF.*" _roff ${SOLSTICE_DOC}) diff --git a/cmake/parser/CMakeLists.txt b/cmake/parser/CMakeLists.txt @@ -13,7 +13,7 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. -cmake_minimum_required(VERSION 2.8) +cmake_minimum_required(VERSION 3.1) project(solstice-parser C) set(SOLPARSER_SOURCE_DIR ${PROJECT_SOURCE_DIR}/../../src/parser) diff --git a/cmake/receivers/CMakeLists.txt b/cmake/receivers/CMakeLists.txt @@ -13,7 +13,7 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. -cmake_minimum_required(VERSION 2.8) +cmake_minimum_required(VERSION 3.1) project(srcvl C) set(SRCVL_SOURCE_DIR ${PROJECT_SOURCE_DIR}/../../src/receivers)