On 06/06/2015 01:41 PM, Alan W. Irwin wrote:
> -    find_program(wxWidgets_CONFIG_EXECUTABLE wx-config
> +    find_program(wxWidgets_CONFIG_EXECUTABLE wx-config wx-config-3.0

For reference, this was from upstreaming a Fedora patch:

 http://www.cmake.org/Bug/view.php?id=15540

> wx-config wx-config-3.0
> 
> be changed to
> 
> wx-config-3.0 wx-config-2.9 wx-config-2.8 wx-config

As discussed in the above-lined issue we need the unversioned name
first because someone could have a custom-built version earlier in
their PATH and that should be found first.

I've added the 2.9 and 2.8 versioned names here:

 FindwxWidgets: Fix find_program call for versioned names
 http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=2c969743

-Brad

-- 

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/cmake-developers

Reply via email to