From 6b163a4a313e4c96260d5722c88ab6439e7335cd Mon Sep 17 00:00:00 2001 From: Nabil Ghodbane Date: Fri, 10 Feb 2023 09:35:40 +0100 Subject: [PATCH] bos #33724: StaticMesh plugin: do not return on missing MPI based filter dependency - windows only --- src/Plugins/StaticMesh/CMakeLists.txt | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/Plugins/StaticMesh/CMakeLists.txt b/src/Plugins/StaticMesh/CMakeLists.txt index 58aae208..5bfc4560 100644 --- a/src/Plugins/StaticMesh/CMakeLists.txt +++ b/src/Plugins/StaticMesh/CMakeLists.txt @@ -35,8 +35,12 @@ paraview_plugin_scan( foreach(module IN LISTS required_modules) if(NOT TARGET "${module}") - message("Missing required module: ${module}") - return() + message(WARNING "Missing required module: ${module}") + if (WIN32) + message(WARNING "Trying to build ${CMAKE_PROJECT_NAME} without ${module}") + else(WIN32) + return() + endif(WIN32) endif() endforeach() -- 2.39.2