diff --git a/common/build-style/cmake.sh b/common/build-style/cmake.sh index ff0543e5b20..436b3ba2a95 100644 --- a/common/build-style/cmake.sh +++ b/common/build-style/cmake.sh @@ -20,6 +20,8 @@ SET(CMAKE_FIND_ROOT_PATH ${XBPS_CROSS_BASE}) SET(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER) SET(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY) SET(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY) + +SET(wxWidgets_CONFIG_EXECUTABLE ${XBPS_WRAPPERDIR}/wx-config) _EOF cmake_args+=" -DCMAKE_TOOLCHAIN_FILE=cross_${XBPS_CROSS_TRIPLET}.cmake" fi