Fix FindwxWidgets on Ubuntu and Debian
When the Ubuntu package libwxgtk3-dev is not installed, FindwxWidgets succeeds even the required libraries are not actually found. The reason for that is that wx-config does not perform any kind of check and uses hardcoded values.
This affects e.g. KiCAD build process and makes it fail with a confusing error message: https://bugs.launchpad.net/kicad/+bug/1630020
Solution is to check for presence of every header and library file obtained from wx-config.
Topic-rename: FindwxWidgets-verify-wx-config
Merge request reports
Activity
- Resolved by Brad King
- Resolved by Brad King
- Resolved by Brad King
- Resolved by Brad King
- Resolved by Brad King
- Resolved by Brad King
added workflow:wip label
- Resolved by Ben Boeckel
added 2 commits
@yaqwsx thanks for the updates. Please squash this all down to one commit and force-push the branch.
assigned to @brad.king
changed milestone to %3.9.0
added 1 commit
- e8b77084 - FindwxWidgets: Verify existence of libraries reported by wx-config
@yaqwsx thanks. I updated your branch once more to revise the commit message and tweak the logic slightly. Please fetch and reset your local checkout.