ports/devel/cmake/files/patch-Modules_FindwxWindows.cmake
Max Brazhnikov bcb7889345 - Update cmake to 2.8.10.2
- Trim Makefile header
- Drop indefinite article from COMMENT

Obtained from:	area51
Tested by:	exp-run (bapt)
2013-03-19 18:00:07 +00:00

11 lines
485 B
CMake

--- Modules/FindwxWindows.cmake.orig 2012-11-06 21:41:36.000000000 +0200
+++ Modules/FindwxWindows.cmake 2012-11-27 22:39:17.000000000 +0200
@@ -598,7 +598,7 @@
# 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
HINTS
ENV WXWIN
$ENV{WXWIN}/bin