From 31e4259c1c319aec53aaee460f054d7fb9c248c0 Mon Sep 17 00:00:00 2001 From: John Date: Wed, 30 Dec 2020 16:41:44 +0100 Subject: [PATCH] common: Add new cmake-wxWidgets-gtk3 build-helper --- Manual.md | 2 ++ common/build-helper/cmake-wxWidgets-gtk3.sh | 5 +++++ 2 files changed, 7 insertions(+) create mode 100644 common/build-helper/cmake-wxWidgets-gtk3.sh 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