Skip to content
Snippets Groups Projects

Set up default include directories on module target

Merged Simon Praetorius requested to merge feature/default-include-dirs into master
1 unresolved thread

Summary

This MR applies the NEW dune policy DP_DEFAULT_INCLUDE_DIRS that sets include-directories on the Dune::LocalFunctions targets instead of a global property. All targets with this implicit assumption need to be modified to link against Dune::LocalFunctions now. For tests this can be easily accomplished by linking all targets created in a directory to that library using link_libraries command inside that directory.

Merge request reports

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
6 6 )
7 7
8 8 dune_add_pybind11_module(NAME _localfunctions)
9 set_property(TARGET _localfunctions PROPERTY LINK_LIBRARIES dunecommon dunegeometry APPEND)
9 target_link_libraries(_localfunctions PUBLIC Dune::Common Dune::Geometry Dune::LocalFunctions)
Please register or sign in to reply
Loading