]> SALOME platform Git repositories - tools/medcoupling.git/commitdiff
Salome HOME
Addition of HDF5 in libs for // HDF5.
authorageay <ageay>
Wed, 25 Apr 2012 10:15:25 +0000 (10:15 +0000)
committerageay <ageay>
Wed, 25 Apr 2012 10:15:25 +0000 (10:15 +0000)
src/MEDLoader/CMakeLists.txt

index 7e5e920b7aa356ca793f281d3842c560be10d838..04a26227c85bf4d090e3ce0399e5b0e03d1120b3 100644 (file)
@@ -48,7 +48,7 @@ SET(medloader_SOURCES
 
 ADD_LIBRARY(medloader SHARED ${medloader_SOURCES})
 SET_TARGET_PROPERTIES(medloader PROPERTIES COMPILE_FLAGS "${HDF5_FLAGS} ${MED3_FLAGS}")
-TARGET_LINK_LIBRARIES(medloader medcoupling ${MED3_LIBS_C_ONLY})
+TARGET_LINK_LIBRARIES(medloader medcoupling ${MED3_LIBS_C_ONLY} ${HDF5_LIBS})
 INSTALL(TARGETS medloader DESTINATION ${MED_salomelib_LIBS})
 
 FILE(GLOB medloader_HEADERS_HXX "${CMAKE_CURRENT_SOURCE_DIR}/*.hxx")