ports/devel/cmake/files/patch-Modules_FindwxWidgets.cmake
Raphael Kubo da Costa 08ea67cb98 Update CMake to 3.4.0.
Release notes: https://cmake.org/cmake/help/v3.4/release/3.4.html

- Bump PORTREVISION in a few ports that do not ship SOVERSIONed libraries
  anymore (see https://cmake.org/gitweb?p=cmake.git;a=commit;h=f799ffb5).
- Switch MASTER_SITES to https.

PR:		204629
2015-11-30 14:20:13 +00:00

11 lines
649 B
CMake

--- Modules/FindwxWidgets.cmake.orig 2015-07-23 15:59:33.000000000 +0200
+++ Modules/FindwxWidgets.cmake 2015-08-10 20:04:36.068295000 +0200
@@ -741,7 +741,7 @@
#-----------------------------------------------------------------
# Support cross-compiling, only search in the target platform.
find_program(wxWidgets_CONFIG_EXECUTABLE
- NAMES wx-config wx-config-3.1 wx-config-3.0 wx-config-2.9 wx-config-2.8
+ NAMES $ENV{WX_CONFIG} wx-config-3.1 wx-config wx-config-3.0 wx-config-2.9 wx-config-2.8
DOC "Location of wxWidgets library configuration provider binary (wx-config)."
ONLY_CMAKE_FIND_ROOT_PATH
)