generic-poky/meta/classes/cmake.bbclass
2008-06-18 08:35:24 +00:00

12 lines
276 B
Text

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