common: Add new cmake-wxWidgets-gtk3 build-helper

This commit is contained in:
John 2020-12-30 16:41:44 +01:00 committed by John Zimmermann
parent 98f239edf8
commit 31e4259c1c
2 changed files with 7 additions and 0 deletions

View file

@ -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-configure` style the configure script calls `qmake` or a `Makefile` in
`gnu-makefile` style, respectively. `gnu-makefile` style, respectively.
- `cmake-wxWidgets-gtk3` sets the `WX_CONFIG` variable which is used by FindwxWidgets.cmake
<a id="functions"></a> <a id="functions"></a>
### Functions ### Functions

View file

@ -0,0 +1,5 @@
if [ "$CROSS_BUILD" ]; then
export WX_CONFIG=${XBPS_WRAPPERDIR}/wx-config-gtk3
else
export WX_CONFIG=wx-config-gtk3
fi