]> SALOME platform Git repositories - modules/paravis.git/commitdiff
Salome HOME
bos #33724: StaticMesh plugin: do not return on missing MPI based filter dependency... bos/33724 6/head
authorNabil Ghodbane <nabil.ghodbane@cea.fr>
Fri, 10 Feb 2023 08:35:40 +0000 (09:35 +0100)
committerNabil Ghodbane <nabil.ghodbane@cea.fr>
Fri, 10 Feb 2023 08:35:40 +0000 (09:35 +0100)
src/Plugins/StaticMesh/CMakeLists.txt

index 58aae208af65d2f676909a91995e365b8e0e353f..5bfc45609aa1f428e130787624e95484f1a9df8c 100644 (file)
@@ -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()