FindwxWidgets.cmake: Look for versioned wx-config scripts
This commit is contained in:
@@ -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
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user