Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
simplify check for renamed wx-config, fix gentoo
Use find_program() to check for the existance of wx-config-gtk4, then wx-config-gtk3 and finally wx-config, instead of calling find_package() for each separately, FindwxWidgets module does not like being called multiple times, it screws up some cache variables.
- Loading branch information
Showing
1 changed file
with
2 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters