[cmake-developers] OpenBSD patches: part 6

Amit Kulkarni amitkulz at gmail.com
Mon Dec 3 18:52:35 EST 2012


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 )
 
     # check wether wx-config was found:
     if(CMAKE_WXWINDOWS_WXCONFIG_EXECUTABLE)



More information about the cmake-developers mailing list