FindwxWidgets.cmake: Look for versioned wx-config scripts
This commit is contained in:
parent
bc480a010b
commit
bbd0c539e9
|
@ -708,7 +708,8 @@ 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
|
||||
NAMES wx-config wx-config-3.1 wx-config-3.0 wx-config-2.9 wx-config-2.8
|
||||
ONLY_CMAKE_FIND_ROOT_PATH
|
||||
)
|
||||
|
||||
|
|
Loading…
Reference in New Issue