diff --git a/Manual.md b/Manual.md index 99e76e4da82..922cbd30f45 100644 --- a/Manual.md +++ b/Manual.md @@ -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 + ### Functions diff --git a/common/build-helper/cmake-wxWidgets-gtk3.sh b/common/build-helper/cmake-wxWidgets-gtk3.sh new file mode 100644 index 00000000000..9e59751fd7a --- /dev/null +++ b/common/build-helper/cmake-wxWidgets-gtk3.sh @@ -0,0 +1,5 @@ +if [ "$CROSS_BUILD" ]; then + export WX_CONFIG=${XBPS_WRAPPERDIR}/wx-config-gtk3 +else + export WX_CONFIG=wx-config-gtk3 +fi