mirror of
https://git.yoctoproject.org/poky
synced 2026-05-31 00:39:46 +00:00
cmake.bbclass: Make sure EXTRA_OECMAKE has a sane default
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
This commit is contained in:
@@ -3,6 +3,8 @@ DEPENDS += " cmake-native "
|
|||||||
# We want the staging and installing functions from autotools
|
# We want the staging and installing functions from autotools
|
||||||
inherit autotools
|
inherit autotools
|
||||||
|
|
||||||
|
EXTRA_OECMAKE ?= ""
|
||||||
|
|
||||||
cmake_do_configure() {
|
cmake_do_configure() {
|
||||||
cmake . -DCMAKE_INSTALL_PREFIX:PATH=${prefix} -Wno-dev \
|
cmake . -DCMAKE_INSTALL_PREFIX:PATH=${prefix} -Wno-dev \
|
||||||
-DCMAKE_FIND_ROOT_PATH=${STAGING_DIR_HOST} ${EXTRA_OECMAKE}
|
-DCMAKE_FIND_ROOT_PATH=${STAGING_DIR_HOST} ${EXTRA_OECMAKE}
|
||||||
|
|||||||
Reference in New Issue
Block a user