From: Nabil Ghodbane Date: Fri, 10 Feb 2023 08:35:40 +0000 (+0100) Subject: bos #33724: StaticMesh plugin: do not return on missing MPI based filter dependency... X-Git-Tag: V9_11_0a1~7 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=6b163a4a313e4c96260d5722c88ab6439e7335cd;p=modules%2Fparavis.git bos #33724: StaticMesh plugin: do not return on missing MPI based filter dependency - windows only --- 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()