FindwxWidgets: Search for wx-config-3.0 in addition to wx-config (#15540)

The Fedora package installs 'wx-config' as 'wx-config-3.0' so look
for the latter name too.
This commit is contained in:
Orion Poplawski 2015-04-29 12:50:35 -04:00 committed by Brad King
parent 036e449c66
commit 1b04561edb
1 changed files with 1 additions and 1 deletions

View File

@ -740,7 +740,7 @@ else()
# UNIX: Start actual work.
#-----------------------------------------------------------------
# Support cross-compiling, only search in the target platform.
find_program(wxWidgets_CONFIG_EXECUTABLE wx-config
find_program(wxWidgets_CONFIG_EXECUTABLE wx-config wx-config-3.0
DOC "Location of wxWidgets library configuration provider binary (wx-config)."
ONLY_CMAKE_FIND_ROOT_PATH
)