common: Add new cmake-wxWidgets-gtk3 build-helper
This commit is contained in:
parent
98f239edf8
commit
31e4259c1c
|
@ -1013,6 +1013,8 @@ This aims to fix cross-builds for when the build-style is mixed: e.g. when in a
|
|||
`gnu-configure` style the configure script calls `qmake` or a `Makefile` in
|
||||
`gnu-makefile` style, respectively.
|
||||
|
||||
- `cmake-wxWidgets-gtk3` sets the `WX_CONFIG` variable which is used by FindwxWidgets.cmake
|
||||
|
||||
<a id="functions"></a>
|
||||
### Functions
|
||||
|
||||
|
|
|
@ -0,0 +1,5 @@
|
|||
if [ "$CROSS_BUILD" ]; then
|
||||
export WX_CONFIG=${XBPS_WRAPPERDIR}/wx-config-gtk3
|
||||
else
|
||||
export WX_CONFIG=wx-config-gtk3
|
||||
fi
|
Loading…
Reference in New Issue