xbps-src: make cmake find/use the wx-config wrapper
This commit is contained in:
parent
625e70ddd0
commit
67c20224e0
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue