mirror of
https://git.yoctoproject.org/poky
synced 2026-05-08 05:09:24 +00:00
cmake.bbclass: added version from OE + cross-compilation support
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4688 311d38ba-8fff-0310-9ca6-ca027cbcb966
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
DEPENDS += " cmake-native "
|
||||
|
||||
# We want the staging and installing functions from autotools
|
||||
inherit autotools
|
||||
|
||||
cmake_do_configure() {
|
||||
cmake . -DCMAKE_INSTALL_PREFIX:PATH=${prefix} -Wno-dev \
|
||||
-DCMAKE_FIND_ROOT_PATH=${STAGING_DIR_HOST}
|
||||
}
|
||||
|
||||
EXPORT_FUNCTIONS do_configure
|
||||
Reference in New Issue
Block a user