Fix check for finding PkgConfig
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
Activity
added bug fix build system labels
unassigned @clemenci
added lhcb-gaudi-head label
changed milestone to %v36r7
- [2022-07-23 00:03] Validation started with lhcb-gaudi-head#3299
- [2022-07-23 00:35] Validation started with lhcb-run2-gaudi-head#363
- [2022-07-24 00:03] Validation started with lhcb-gaudi-head#3300
- [2022-07-24 00:22] Validation started with lhcb-run2-gaudi-head#364
- [2022-07-25 00:03] Validation started with lhcb-gaudi-head#3301
- [2022-07-25 00:36] Validation started with lhcb-run2-gaudi-head#365
Edited by Software for LHCbmentioned in commit 553270d7
Please register or sign in to reply