summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2015-06-09 13:18:40 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2015-06-09 13:18:40 (GMT)
commit5a5a81e550325e1d5fdd0bb86429188e069e192d (patch)
tree44376b94f8a1b3b3483253e8cc2d9a06d7e535c9 /Modules
parent2848f93d1aa8420fa57351385aefe8042b675540 (diff)
parent2c9697431528ce78aa3aab9c0e1849641d9f61ec (diff)
downloadCMake-5a5a81e550325e1d5fdd0bb86429188e069e192d.zip
CMake-5a5a81e550325e1d5fdd0bb86429188e069e192d.tar.gz
CMake-5a5a81e550325e1d5fdd0bb86429188e069e192d.tar.bz2
Merge topic 'FindwxWidgets-versioned-executable'
2c969743 FindwxWidgets: Fix find_program call for versioned names
Diffstat (limited to 'Modules')
-rw-r--r--Modules/FindwxWidgets.cmake3
1 files changed, 2 insertions, 1 deletions
diff --git a/Modules/FindwxWidgets.cmake b/Modules/FindwxWidgets.cmake
index c16c011..9a70678 100644
--- a/Modules/FindwxWidgets.cmake
+++ b/Modules/FindwxWidgets.cmake
@@ -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
)