2008-06-18 08:35:24 +00:00
|
|
|
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 \
|
2010-07-21 17:20:40 +00:00
|
|
|
-DCMAKE_FIND_ROOT_PATH=${STAGING_DIR_HOST} ${EXTRA_OECMAKE}
|
2008-06-18 08:35:24 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
EXPORT_FUNCTIONS do_configure
|