]> SALOME platform Git repositories - modules/hydrosolver.git/commitdiff
Salome HOME
porting to Unbuntu 20.04 native prerequisites (Cmake 3.16.3)
authorPaul RASCLE <paul.rascle@openfields.fr>
Sun, 10 May 2020 08:19:16 +0000 (10:19 +0200)
committerYOANN AUDOUIN <B61570@dsp0851742.postes.calibre.edf.fr>
Fri, 30 Oct 2020 16:04:18 +0000 (17:04 +0100)
CMakeLists.txt

index 9f2147321ede3e7288e1aeda81d25fd7f1279580..6648a4436e60248d68b93032c01126280910b29a 100644 (file)
@@ -16,7 +16,7 @@
 #  along with SALOME HYDRO module.  If not, see <http://www.gnu.org/licenses/>.
 
 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)