diff options
Diffstat (limited to 'ports/vtk/portfile.cmake')
| -rw-r--r-- | ports/vtk/portfile.cmake | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/ports/vtk/portfile.cmake b/ports/vtk/portfile.cmake index d657f241f..d2dc3e2c7 100644 --- a/ports/vtk/portfile.cmake +++ b/ports/vtk/portfile.cmake @@ -68,6 +68,13 @@ endif() if("mpi" IN_LIST FEATURES) list(APPEND ADDITIONAL_OPTIONS -DVTK_GROUP_ENABLE_MPI=YES + -DVTK_USE_MPI=YES + ) +endif() + +if("mpi" IN_LIST FEATURES AND "python" IN_LIST FEATURES) + list(APPEND ADDITIONAL_OPTIONS + -DVTK_MODULE_USE_EXTERNAL_VTK_mpi4py=OFF ) endif() @@ -120,7 +127,7 @@ vcpkg_from_github( python_debug.patch fix-using-hdf5.patch # Last patch TODO: Patch out internal loguru - FindExpat.patch + FindExpat.patch # The find_library calls are taken care of by vcpkg-cmake-wrapper.cmake of expat ) # ============================================================================= |
