From: Nabil Ghodbane Date: Fri, 30 Sep 2022 09:10:41 +0000 (+0200) Subject: StaticMeshPlugin - add second patch X-Git-Tag: V9_11_0~283 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=1a43353dfa6682dec7651c4bf45d581d15f648f1;p=tools%2Fsat_salome.git StaticMeshPlugin - add second patch --- diff --git a/products/patches/StaticMeshPlugin-5.11.0.p002.patch b/products/patches/StaticMeshPlugin-5.11.0.p002.patch new file mode 100644 index 0000000..d6e666d --- /dev/null +++ b/products/patches/StaticMeshPlugin-5.11.0.p002.patch @@ -0,0 +1,15 @@ +diff --git a/CMakeLists.txt b/CMakeLists.txt +index 527c65f..e5a31ae 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -8,6 +8,10 @@ set(CMAKE_LIBRARY_OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/${CMAKE_INSTALL_ + set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/${CMAKE_INSTALL_LIBDIR}") + + set("_paraview_plugin_default_${CMAKE_PROJECT_NAME}" ON) ++if(DEFINED ENV{MPI_ROOT_DIR}) ++ FIND_PACKAGE(MPI) ++endif() ++ + paraview_plugin_scan( + ENABLE_BY_DEFAULT YES + PLUGIN_FILES "${CMAKE_CURRENT_SOURCE_DIR}/plugin/paraview.plugin"