X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FPlugins%2FMEDReader%2Fplugin%2FMEDLoaderForPV%2FCMakeLists.txt;h=6da516b90e2604832bc5a49720478228f2d14631;hb=35665aca0031dc689940d59cc17e148e6c61334b;hp=ce109aeef0f63f73a47f1b46fc9b82c114ac08c4;hpb=ff8c1f5067a06deed8922d6aee2745a4e370b803;p=modules%2Fparavis.git diff --git a/src/Plugins/MEDReader/plugin/MEDLoaderForPV/CMakeLists.txt b/src/Plugins/MEDReader/plugin/MEDLoaderForPV/CMakeLists.txt index ce109aee..6da516b9 100644 --- a/src/Plugins/MEDReader/plugin/MEDLoaderForPV/CMakeLists.txt +++ b/src/Plugins/MEDReader/plugin/MEDLoaderForPV/CMakeLists.txt @@ -1,4 +1,4 @@ -# Copyright (C) 2010-2020 CEA/DEN, EDF R&D +# Copyright (C) 2010-2022 CEA/DEN, EDF R&D # # This library is free software; you can redistribute it and/or # modify it under the terms of the GNU Lesser General Public @@ -22,11 +22,11 @@ target_include_directories(MEDLoaderForPV PRIVATE . ${MEDCOUPLING_INCLUDE_DIRS}) target_link_libraries(MEDLoaderForPV VTK::CommonCore VTK::CommonDataModel VTK::IOXML ${MEDFILE_C_LIBRARIES}) -IF(HDF5_IS_PARALLEL) +IF(MEDREADER_USE_MPI)#HDF5_IS_PARALLEL target_link_libraries(MEDLoaderForPV ${MEDCoupling_paramedloader}) -ELSE(HDF5_IS_PARALLEL) +ELSE(MEDREADER_USE_MPI) TARGET_LINK_LIBRARIES(MEDLoaderForPV ${MEDCoupling_medloader}) -ENDIF(HDF5_IS_PARALLEL) +ENDIF(MEDREADER_USE_MPI) install(TARGETS MEDLoaderForPV DESTINATION lib/salome)#${CMAKE_INSTALL_LIBDIR}