vp-build/common/build-helper/cmake-wxWidgets-gtk3.sh
Đoàn Trần Công Danh bc6016b05c build-helper/cmake-wxWidgets-gtk3: set configure_args, too
CMake on their mission to handle all use-cases, ships a FindwxWidgets,
this module ignores WX_CONFIG environment variable,
even the code seems to respect it.
2022-09-02 01:34:32 +07:00

7 lines
193 B
Bash

if [ "$CROSS_BUILD" ]; then
export WX_CONFIG=${XBPS_WRAPPERDIR}/wx-config-gtk3
else
export WX_CONFIG=/usr/bin/wx-config-gtk3
fi
configure_args+=" -DwxWidgets_CONFIG_EXECUTABLE=${WX_CONFIG} "