blob: 8fd25cd7a58b8c585dd8b728dd206e8b32f8fb17 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
DEPENDS += " cmake-native "
# We want the staging and installing functions from autotools
inherit autotools
OECMAKE_SOURCEPATH ?= "."
cmake_do_configure() {
cmake ${OECMAKE_SOURCEPATH} \
-DCMAKE_INSTALL_PREFIX:PATH=${prefix} -Wno-dev \
-DCMAKE_FIND_ROOT_PATH=${STAGING_DIR_HOST} \
${EXTRA_OECMAKE}
}
EXPORT_FUNCTIONS do_configure
|