]> SALOME platform Git repositories - tools/solverlab.git/commitdiff
Salome HOME
Changed CMake policy for compilation on Debian 11
authorNDJINGA Michael <ndjinga@is224593.intra.cea.fr>
Mon, 3 Jan 2022 13:26:24 +0000 (14:26 +0100)
committerNDJINGA Michael <ndjinga@is224593.intra.cea.fr>
Mon, 3 Jan 2022 13:26:24 +0000 (14:26 +0100)
CMakeLists.txt

index c50d4143e1f8f83010ee2f104b2430864ee55bda..9e255b092e4f59664b59d70df0843df34f888340 100644 (file)
@@ -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)