Skip to content
Snippets Groups Projects

Fix check for finding PkgConfig

Merged Rosen Matev requested to merge rmatev/Gaudi:rm-PkgConfig-fix into master

This is a follow up of !1354 (merged). There PkgConfig is only looked up if the pkg_check_modules macro hasn't been defined. The problem is that the scope of macros seem to be global, and finding PkgConfig in another directory defines that macro. However, variable scope is per directory and the PkgConfig macros don't really work when PkgConfig is not found in the current directory.

This changes the check to use the PKG_CONFIG_FOUND variable

Edited by Rosen Matev

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
Please register or sign in to reply
Loading