solstice-solver

Solver library of the solstice app
git clone git://git.meso-star.com/solstice-solver.git
Log | Files | Refs | README | LICENSE

commit c580c88ed4971b8ff10f88ca1a9d90398f11c6a9
parent 4cf901ade21c07924fd911b10691ed8d8d12a347
Author: Vincent Forest <vincent.forest@meso-star.com>
Date:   Tue, 18 Dec 2018 11:20:16 +0100

Fix the CMake warning of the FindOpenMP module

Diffstat:
Mcmake/CMakeLists.txt | 6+++++-
1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/cmake/CMakeLists.txt b/cmake/CMakeLists.txt @@ -17,6 +17,10 @@ cmake_minimum_required(VERSION 2.8) 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) @@ -24,7 +28,7 @@ option(NO_TEST "Do not build tests" OFF) # Check dependencies ################################################################################ find_package(RCMake 0.3 REQUIRED) -find_package(RSys 0.6 REQUIRED) +find_package(RSys 0.7.1 REQUIRED) find_package(Star3D 0.4.1 REQUIRED) find_package(Star3DUT 0.2 REQUIRED) find_package(StarCPR 0.1 REQUIRED)