Explicitly set CMAKE_LIBRARY_PATH so that find_library() looks in the native
sysroot before the host.
Also pass --verbose to configure which sets CMAKE_VERBOSE_MAKEFILE for detailed
compile logs.
Signed-off-by: Ross Burton <ross.burton@intel.com>
# Disable ccmake since we don't depend on ncurses
CMAKE_EXTRACONF = "\
+ -DCMAKE_LIBRARY_PATH=${STAGING_LIBDIR_NATIVE} \
-DBUILD_CursesDialog=0 \
-DCMAKE_USE_SYSTEM_LIBRARIES=1 \
-DCMAKE_USE_SYSTEM_LIBRARY_JSONCPP=0 \
"
do_configure () {
- ${S}/configure --prefix=${prefix} -- ${CMAKE_EXTRACONF}
+ ${S}/configure --verbose --prefix=${prefix} -- ${CMAKE_EXTRACONF}
}
do_compile() {