From: NDJINGA Michael Date: Mon, 3 Jan 2022 13:26:24 +0000 (+0100) Subject: Changed CMake policy for compilation on Debian 11 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=9705391d342bf44073b7469bafcda074560576f1;p=tools%2Fsolverlab.git Changed CMake policy for compilation on Debian 11 --- diff --git a/CMakeLists.txt b/CMakeLists.txt index c50d414..9e255b0 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -2,11 +2,15 @@ cmake_minimum_required (VERSION 3.1) set(CMAKE_CXX_STANDARD 11) set(CMAKE_CXX_STANDARD_REQUIRED ON) +IF(CMAKE_VERSION VERSION_GREATER_EQUAL 3.18) + CMAKE_POLICY(SET CMP0057 NEW) +ENDIF() + # Project name project (SOLVERLAB C CXX) set (SOLVERLAB_VERSION_MAJOR 9) -set (SOLVERLAB_VERSION_MINOR 7) -set (SOLVERLAB_VERSION_SUBMINOR alpha) +set (SOLVERLAB_VERSION_MINOR 8) +set (SOLVERLAB_VERSION_SUBMINOR 0) option (SOLVERLAB_WITH_DOCUMENTATION "Generate SOLVERLAB documentation" ON) option (SOLVERLAB_WITH_PYTHON "Generate Python interface of SOLVERLAB using SWIG" ON)