summaryrefslogtreecommitdiff
path: root/Modules/FindwxWidgets.cmake
diff options
context:
space:
mode:
authorOrion Poplawski <orion@cora.nwra.com>2015-04-29 12:50:35 -0400
committerBrad King <brad.king@kitware.com>2015-04-29 12:51:07 -0400
commit1b04561edbe28f920561ca08855c8595b463d24b (patch)
tree59470d11b7bdf18ae19093209901b3628e7ffc75 /Modules/FindwxWidgets.cmake
parent036e449c665ce3abe8c11b32c1f73ee9b8a68300 (diff)
downloadcmake-1b04561edbe28f920561ca08855c8595b463d24b.tar.gz
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.
Diffstat (limited to 'Modules/FindwxWidgets.cmake')
-rw-r--r--Modules/FindwxWidgets.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/FindwxWidgets.cmake b/Modules/FindwxWidgets.cmake
index dec0ddf20c..c16c011141 100644
--- a/Modules/FindwxWidgets.cmake
+++ b/Modules/FindwxWidgets.cmake
@@ -740,7 +740,7 @@ 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 wx-config wx-config-3.0
DOC "Location of wxWidgets library configuration provider binary (wx-config)."
ONLY_CMAKE_FIND_ROOT_PATH
)