mirror of
https://git.yoctoproject.org/poky
synced 2026-05-09 17:39:31 +00:00
cb249ed2f0
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 lines
314 B
Plaintext
14 lines
314 B
Plaintext
DEPENDS += " cmake-native "
|
|
|
|
# We want the staging and installing functions from autotools
|
|
inherit autotools
|
|
|
|
EXTRA_OECMAKE ?= ""
|
|
|
|
cmake_do_configure() {
|
|
cmake . -DCMAKE_INSTALL_PREFIX:PATH=${prefix} -Wno-dev \
|
|
-DCMAKE_FIND_ROOT_PATH=${STAGING_DIR_HOST} ${EXTRA_OECMAKE}
|
|
}
|
|
|
|
EXPORT_FUNCTIONS do_configure
|