File tree Expand file tree Collapse file tree 7 files changed +27
-7
lines changed Expand file tree Collapse file tree 7 files changed +27
-7
lines changed Original file line number Diff line number Diff line change @@ -112,10 +112,13 @@ set_source_files_properties(
112112 vtkSession
113113 ABSTRACT )
114114
115+ if (PARAVIEW_USE_MPI)
116+ include (vtkMPI)
117+ endif ()
118+
115119# Use a custom hints file for this module.
116120set (${vtk-module}_WRAP_HINTS "${CMAKE_CURRENT_SOURCE_DIR} /hints" )
117121vtk_module_library(vtkPVClientServerCoreCore ${Module_SRCS} )
118122if (PARAVIEW_USE_MPI)
119- include (vtkMPI)
120123 vtk_mpi_link(${vtk-module})
121124endif ()
Original file line number Diff line number Diff line change @@ -146,8 +146,10 @@ foreach (file vtkIceTCompositeZPassShader_fs.glsl)
146146endforeach ()
147147#---------------------------------------------------------
148148
149- vtk_module_library(vtkPVVTKExtensionsRendering ${Module_SRCS} )
150149if (PARAVIEW_USE_MPI)
151150 include (vtkMPI)
151+ endif ()
152+ vtk_module_library(vtkPVVTKExtensionsRendering ${Module_SRCS} )
153+ if (PARAVIEW_USE_MPI)
152154 vtk_mpi_link(${vtk-module})
153155endif ()
Original file line number Diff line number Diff line change @@ -65,6 +65,10 @@ ADD_PARAVIEW_AUTO_START(
6565 CLASS_NAME pqCPPluginManager)
6666
6767
68+ if (PARAVIEW_USE_MPI)
69+ include (vtkMPI)
70+ endif ()
71+
6872ADD_PARAVIEW_PLUGIN(
6973 CatalystScriptGeneratorPlugin
7074 #"${Catalyst_VERSION_MAJOR}.${Catalyst_VERSION_MINOR}.${Catalyst_VERSION_PATCH}"
@@ -100,6 +104,5 @@ IF (BUILD_TESTING)
100104ENDIF ()
101105
102106if (PARAVIEW_USE_MPI)
103- include (vtkMPI)
104107 vtk_mpi_link(CatalystScriptGeneratorPlugin)
105108endif ()
Original file line number Diff line number Diff line change @@ -63,6 +63,10 @@ ELSEIF (UNIX)
6363 ENDIF ()
6464ENDIF ()
6565
66+ if (PARAVIEW_USE_MPI)
67+ include (vtkMPI)
68+ endif ()
69+
6670# ---------------------------------------------------------------------------
6771# Combined plugin
6872# -----------------------------------------------------------------------------
@@ -101,6 +105,5 @@ IF (BUILD_TESTING)
101105ENDIF ()
102106
103107if (PARAVIEW_USE_MPI)
104- include (vtkMPI)
105108 vtk_mpi_link(GMVReader)
106109endif ()
Original file line number Diff line number Diff line change @@ -19,6 +19,10 @@ ADD_DEFINITIONS(-DH5_USE_16_API)
1919# needed for mpich
2020add_definitions ("-DMPICH_IGNORE_CXX_SEEK" )
2121
22+ if (PARAVIEW_USE_MPI)
23+ include (vtkMPI)
24+ endif ()
25+
2226ADD_PARAVIEW_PLUGIN(H5PartReader "1.0"
2327 SERVER_MANAGER_SOURCES
2428 vtkH5PartReader.cxx
@@ -38,7 +42,6 @@ target_link_libraries(H5PartReader LINK_PRIVATE
3842 vtksys)
3943
4044if (PARAVIEW_USE_MPI)
41- include (vtkMPI)
4245 vtk_mpi_link(H5PartReader)
4346endif ()
4447
Original file line number Diff line number Diff line change @@ -89,6 +89,10 @@ set (SQTK_SM_XML
8989
9090include_directories (${VTK_INCLUDE_DIRS} ${MPI_CXX_INCLUDE_PATH} )
9191
92+ if (PARAVIEW_USE_MPI)
93+ include (vtkMPI)
94+ endif ()
95+
9296# Generate the plugin, servermanager and wrapped language bindings.
9397add_paraview_plugin(
9498 SciberQuestToolKit "${SQTK_VERSION} "
@@ -110,6 +114,5 @@ install(TARGETS SciberQuestToolKit
110114 LIBRARY DESTINATION ${VTK_INSTALL_LIBRARY_DIR} )
111115
112116if (PARAVIEW_USE_MPI)
113- include (vtkMPI)
114117 vtk_mpi_link(SciberQuestToolKit)
115118endif ()
Original file line number Diff line number Diff line change @@ -137,6 +137,10 @@ if (SQTK_DEBUG)
137137 add_definitions (-DSQTK_DEBUG)
138138endif ()
139139
140+ if (PARAVIEW_USE_MPI)
141+ include (vtkMPI)
142+ endif ()
143+
140144vtk_module_library(vtkSciberQuest ${CXX_SOURCES} )
141145
142146if (SQTK_CUDA AND CUDA_FOUND)
@@ -150,6 +154,5 @@ install(TARGETS vtkSciberQuest
150154 LIBRARY DESTINATION ${VTK_INSTALL_LIBRARY_DIR} )
151155
152156if (PARAVIEW_USE_MPI)
153- include (vtkMPI)
154157 vtk_mpi_link(vtkSciberQuest)
155158endif ()
You can’t perform that action at this time.
0 commit comments