commit 0b7f47707a70b4aa44e1c6bcb8746fec8e820760
parent 227029d566b06f02fa2d62170ba81091c25d16ba
Author: Vincent Forest <vincent.forest@meso-star.com>
Date: Tue, 19 Oct 2021 15:11:12 +0200
Set CMake minimum version to 3.1
CMake 2.8 is deprecated
Diffstat:
1 file changed, 1 insertion(+), 5 deletions(-)
diff --git a/cmake/CMakeLists.txt b/cmake/CMakeLists.txt
@@ -13,14 +13,10 @@
# 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-solver C)
enable_testing()
-if(POLICY CMP0054) # For cmake version < 3.1: disable FindOpenMP warning
- cmake_policy(SET CMP0054 NEW)
-endif()
-
set(SSOL_SOURCE_DIR ${PROJECT_SOURCE_DIR}/../src)
option(NO_TEST "Do not build tests" OFF)