On 12/03/2012 06:52 PM, Amit Kulkarni wrote:
> Commit message: append /usr/local/bin to search path of wx-config executable
> 
> diff --git a/Modules/FindwxWindows.cmake b/Modules/FindwxWindows.cmake
> index 4179f7b..fb43ec7 100644
> --- a/Modules/FindwxWindows.cmake
> +++ b/Modules/FindwxWindows.cmake
> @@ -604,7 +604,8 @@ else()
>          $ENV{WXWIN}/bin
>        PATHS
>        ../wx/bin
> -      ../../wx/bin )
> +      ../../wx/bin
> +      /usr/local/bin )

Since CMAKE_SYSTEM_PREFIX_PATH includes /usr/local, the find_program
command will already search /usr/local/bin.  This patch should not
be necessary.

-Brad
--

Powered by www.kitware.com

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

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

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

Reply via email to