From 1b04561edbe28f920561ca08855c8595b463d24b Mon Sep 17 00:00:00 2001 From: Orion Poplawski Date: Wed, 29 Apr 2015 12:50:35 -0400 Subject: [PATCH] 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. --- Modules/FindwxWidgets.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Modules/FindwxWidgets.cmake b/Modules/FindwxWidgets.cmake index dec0ddf20..c16c01114 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 )