# 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)
# 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)