[cmake-developers] OpenBSD patches: part 6
Brad King
brad.king at kitware.com
Tue Dec 4 08:43:18 EST 2012
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
More information about the cmake-developers
mailing list