From d81cacfac1b08bf378c3a3a088b619603b700f2a Mon Sep 17 00:00:00 2001 From: Paul RASCLE Date: Sun, 10 May 2020 10:19:16 +0200 Subject: [PATCH] porting to Unbuntu 20.04 native prerequisites (Cmake 3.16.3) --- CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 9f21473..6648a44 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -16,7 +16,7 @@ # along with SALOME HYDRO module. If not, see . CMAKE_MINIMUM_REQUIRED(VERSION 2.8.8 FATAL_ERROR) -PROJECT(SalomeHYDROSOLVER CXX) +PROJECT(SalomeHYDROSOLVER C CXX) # Ensure a proper linker behavior: CMAKE_POLICY(SET CMP0003 NEW) @@ -82,7 +82,7 @@ FIND_PACKAGE(SalomeSWIG REQUIRED) # Med and Hdf5 are second order dependencies (deps for Telemac) but since Telemac libraries # are not linked against them, we need to include them here for the Telemac wrapper FIND_PACKAGE(SalomeMEDFile REQUIRED) -FIND_PACKAGE(SalomeHDF5 REQUIRED) +FIND_PACKAGE(SalomeHDF5 REQUIRED COMPONENTS C) IF(SALOME_BUILD_DOC) FIND_PACKAGE(SalomeSphinx REQUIRED) -- 2.39.2