opnsense-ports/devel/cmake/files/patch-Modules_FindwxWindows.cmake
Franco Fichtner 8cb1a96ede ports: pull in a snapshot of the FreeBSD ports tree
Taken from:	https://github.com/freebsd/freebsd-ports.git
Commit id:	5070672073b68be364139bc6b3a89100bd17d331
2014-11-09 14:03:21 +01: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