From 1a43353dfa6682dec7651c4bf45d581d15f648f1 Mon Sep 17 00:00:00 2001 From: Nabil Ghodbane Date: Fri, 30 Sep 2022 11:10:41 +0200 Subject: [PATCH] StaticMeshPlugin - add second patch --- .../patches/StaticMeshPlugin-5.11.0.p002.patch | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 products/patches/StaticMeshPlugin-5.11.0.p002.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" -- 2.39.2