From 67c20224e051ad4dd7606a4b00171b84ac1a8523 Mon Sep 17 00:00:00 2001 From: newbluemoon Date: Sun, 7 Jan 2018 18:36:08 +0100 Subject: [PATCH] xbps-src: make cmake find/use the wx-config wrapper --- common/build-style/cmake.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/common/build-style/cmake.sh b/common/build-style/cmake.sh index ff0543e5b2..436b3ba2a9 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