From: Paul RASCLE Date: Sun, 10 May 2020 08:19:16 +0000 (+0200) Subject: porting to Unbuntu 20.04 native prerequisites (Cmake 3.16.3) X-Git-Tag: SH_V2_2_0~26 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=d81cacfac1b08bf378c3a3a088b619603b700f2a;p=modules%2Fhydrosolver.git porting to Unbuntu 20.04 native prerequisites (Cmake 3.16.3) --- 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)