]> SALOME platform Git repositories - modules/paravis.git/commitdiff
Salome HOME
Add MEDCoupling dependency simple_cmake
authorCédric Aguerre <cedric.aguerre@edf.fr>
Mon, 7 Dec 2015 12:28:18 +0000 (13:28 +0100)
committerCédric Aguerre <cedric.aguerre@edf.fr>
Mon, 7 Dec 2015 12:28:18 +0000 (13:28 +0100)
src/Plugins/MEDReader/IO/CMakeLists.txt

index 42eace0b7307b46be42486f4785f192d4e11081b..331e4cc02497640af73e37f48241d538a36ed930 100644 (file)
@@ -41,9 +41,9 @@ ENDFOREACH(class)
 ADD_LIBRARY(MEDLoaderForPV SHARED MEDFileFieldRepresentationTree.cxx MEDTimeReq.cxx MEDUtilities.cxx vtkGenerateVectors.cxx)
 
 IF(HDF5_IS_PARALLEL)
-  TARGET_LINK_LIBRARIES(MEDLoaderForPV vtkCommonCore vtkCommonDataModel ${MEDCoupling_paramedloader} ${MEDFILE_C_LIBRARIES})
+  TARGET_LINK_LIBRARIES(MEDLoaderForPV vtkCommonCore vtkCommonDataModel ${PARAMEDLOADER_LIBRARY} ${MEDFILE_C_LIBRARIES})
 ELSE(HDF5_IS_PARALLEL)
-  TARGET_LINK_LIBRARIES(MEDLoaderForPV vtkCommonCore vtkCommonDataModel ${MEDCoupling_medloader} ${MEDFILE_C_LIBRARIES})
+  TARGET_LINK_LIBRARIES(MEDLoaderForPV vtkCommonCore vtkCommonDataModel ${MEDLOADER_LIBRARY} ${MEDFILE_C_LIBRARIES})
 ENDIF(HDF5_IS_PARALLEL)
 
 VTK_MODULE_LIBRARY(vtkMEDReader ${MEDReader_SRCS})