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:
parent
036e449c66
commit
1b04561edb
@ -740,7 +740,7 @@ else()
|
|||||||
# UNIX: Start actual work.
|
# UNIX: Start actual work.
|
||||||
#-----------------------------------------------------------------
|
#-----------------------------------------------------------------
|
||||||
# Support cross-compiling, only search in the target platform.
|
# 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)."
|
DOC "Location of wxWidgets library configuration provider binary (wx-config)."
|
||||||
ONLY_CMAKE_FIND_ROOT_PATH
|
ONLY_CMAKE_FIND_ROOT_PATH
|
||||||
)
|
)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user