ports/devel/cmake/files/patch-Modules_FindwxWindows.cmake
Adriaan de Groot c91270bd8d Update CMake to 3.9, merge devel/cmake-modules into devel/cmake
Thanks to antoine@ for the exp-run.

Approved by:		rakuco (mentor)
Reviewed by:		tcberner (mentor)
Reviewed by:		mat
PR:			222000 (exp-run)
Differential Revision:	https://reviews.freebsd.org/D12299
2017-09-14 21:02:51 +00:00

11 lines
444 B
CMake

--- Modules/FindwxWindows.cmake.orig 2017-05-31 14:00:09 UTC
+++ Modules/FindwxWindows.cmake
@@ -617,7 +617,7 @@ else()
# 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