common: Add new cmake-wxWidgets-gtk3 build-helper
This commit is contained in:
parent
98f239edf8
commit
31e4259c1c
2 changed files with 7 additions and 0 deletions
|
@ -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
|
||||||
|
|
||||||
|
|
5
common/build-helper/cmake-wxWidgets-gtk3.sh
Normal file
5
common/build-helper/cmake-wxWidgets-gtk3.sh
Normal 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
|
Loading…
Reference in a new issue