summaryrefslogtreecommitdiff
path: root/devel/cmake/files/patch-Modules_FindwxWindows.cmake
blob: 6a93bb08d8be8bc07eb8502bebb509fc06a26753 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
--- ./Modules/FindwxWindows.cmake.orig	2010-06-28 19:15:57.000000000 +0400
+++ ./Modules/FindwxWindows.cmake	2010-07-06 02:06:30.769844610 +0400
@@ -599,7 +599,8 @@
 
     # wx-config should be in your path anyhow, usually no need to set WXWIN or
     # search in ../wx or ../../wx
-    FIND_PROGRAM(CMAKE_WXWINDOWS_WXCONFIG_EXECUTABLE wx-config
+    FIND_PROGRAM(CMAKE_WXWINDOWS_WXCONFIG_EXECUTABLE NAMES $ENV{WX_CONFIG} wx-config
+      PATHS
       $ENV{WXWIN}
       $ENV{WXWIN}/bin
       ../wx/bin