Skip to content

Conversation

@s-ol
Copy link

@s-ol s-ol commented Aug 18, 2025

Building OCP 7.8.1.2 on Arch Linux against vtk 9.5.0 currently fails in the CMake Configuration stage:

CMake Error at /usr/lib/cmake/vtk/VTK-targets.cmake:1897 (set_target_properties):
  The link interface of target "VTK::mpi" contains:

    MPI::MPI_C

  but the target was not found.  Possible reasons include:

    * There is a typo in the target name.
    * A find_package call is missing for an IMPORTED target.
    * An ALIAS target is missing.

Call Stack (most recent call first):
  /usr/lib/cmake/vtk/vtk-config.cmake:147 (include)
  CMakeLists.txt:8 (find_package)

This patch adds mpi to the VTK components to search for, resolving this issue.

@adam-urbanczyk
Copy link
Member

Does fail CI, so not mergable as-is.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants