mirror of
https://github.com/microsoft/vcpkg.git
synced 2025-01-18 14:43:04 +08:00
[vtk] Fix building with MPI and Python enabled (#12971)
This commit is contained in:
parent
53a47bca4f
commit
940d1dc707
@ -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()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user