From e7cc0e7b6afe26fefd69c22922c12b7bd03b9f2f Mon Sep 17 00:00:00 2001 From: rnc Date: Mon, 14 Oct 2013 09:15:18 +0000 Subject: [PATCH] IMP: HOMARD / CMake build procedure: MEDFILE can be found on the base of the configuration exposed by SMESH --- CMakeLists.txt | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index c57cda28..26c64f86 100755 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -76,9 +76,6 @@ FIND_PACKAGE(SalomeOmniORB REQUIRED) FIND_PACKAGE(SalomeOmniORBPy REQUIRED) # HDF5 FIND_PACKAGE(SalomeHDF5 REQUIRED COMPONENTS C) -# MedFile -FIND_PACKAGE(SalomeMEDFile REQUIRED) - # Other KERNEL optionals: IF(SALOME_USE_MPI) @@ -133,6 +130,13 @@ ELSE(EXISTS ${SMESH_ROOT_DIR}) MESSAGE(FATAL_ERROR "We absolutely need a Salome SMESH, please define SMESH_ROOT_DIR") ENDIF(EXISTS ${SMESH_ROOT_DIR}) +## +## From SMESH: +## + +# MedFile +FIND_PACKAGE(SalomeMEDFile REQUIRED) + ## ## HOMARD specifics ## -- 2.39.2