mirror of
https://git.freebsd.org/ports.git
synced 2025-06-07 05:40:30 -04:00
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
11 lines
444 B
CMake
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
|