Merge branch 'FindwxWidgets-versioned-executable' into release

This commit is contained in:
Brad King 2015-06-08 09:19:39 -04:00
commit a20ca0c603
1 changed files with 2 additions and 1 deletions

View File

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