Skip to content
Snippets Groups Projects

Configure a pkg config file only if the template file exists

All threads resolved!

Pkg-config files for dune modules are essentially outdated, (unless the feature is completely rewritten and fixed, as in !910). If you create a simple application module that does not even get consumed by or is a dependency of other modules, it doesn't make much sense to create such .pc files. Unfortunately, the corresponding template is still required for cmake to succeed. This MR fixes this and only generates a pkg config file if the associated template .pc.in exists.

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Simon Praetorius added 44 commits

    added 44 commits

    • 0bdd0e36...a59cfc87 - 42 commits from branch master
    • 00ca3d7b - Configure a pkg config file only if the template file exists
    • 333ab642 - create and oinstall pkg-config file only if the template exists

    Compare with previous version

  • Simon Praetorius resolved all threads

    resolved all threads

  • mentioned in commit 58d72453

  • Please register or sign in to reply
    Loading