Skip to content
Snippets Groups Projects

Pass `OBJECT` option to `add_dune_mpi_flags`

Merged Ansgar Burchardt requested to merge bugfix/UseUG-pass-OBJECT-option into master

The OBJECT option has to be passed on to add_dune_mpi_flags. Otherwise one will get an error when using the parallel version of UG with object libraries:

CMake Error at [...]/dune-common/cmake/modules/DuneMPI.cmake:62 (target_link_libraries):
  Object library target "[...]" may not link to anything.
Call Stack (most recent call first):
  [...]/dune-grid/cmake/modules/UseUG.cmake:206 (add_dune_mpi_flags)
  [...]/CMakeLists.txt:62 (add_dune_ug_flags)

Merge request reports

Pipeline #1596 passed

Pipeline passed for f39c61bb on bugfix/UseUG-pass-OBJECT-option

Approval is optional

Merged by avatar (Mar 26, 2025 10:41pm UTC)

Merge details

  • Changes merged into master with 4007b3ed.
  • Deleted the source branch.
  • Auto-merge enabled

Pipeline #1708 failed

Pipeline failed for 4007b3ed on master

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading