aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Jansa <martin.jansa@gmail.com>2018-01-21 14:37:38 +0100
committerArmin Kuster <akuster808@gmail.com>2018-01-22 20:08:06 -0800
commit3d44918312140988db2cd85bc030b81352a4a272 (patch)
tree3b7866f532b90452c331e5a99af9fa0af4d6e26e
parent46227d10146821f712b3564769391850b77627a7 (diff)
downloadmeta-openembedded-contrib-3d44918312140988db2cd85bc030b81352a4a272.tar.gz
meta-openembedded-contrib-3d44918312140988db2cd85bc030b81352a4a272.tar.bz2
meta-openembedded-contrib-3d44918312140988db2cd85bc030b81352a4a272.zip
cmpi-bindings: use Unix Makefiles OECMAKE generator
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Armin Kuster <akuster808@gmail.com>
-rw-r--r--meta-oe/recipes-extended/cmpi-bindings/cmpi-bindings_git.bb4
1 files changed, 4 insertions, 0 deletions
diff --git a/meta-oe/recipes-extended/cmpi-bindings/cmpi-bindings_git.bb b/meta-oe/recipes-extended/cmpi-bindings/cmpi-bindings_git.bb
index 25166ab580..987c09fe52 100644
--- a/meta-oe/recipes-extended/cmpi-bindings/cmpi-bindings_git.bb
+++ b/meta-oe/recipes-extended/cmpi-bindings/cmpi-bindings_git.bb
@@ -24,6 +24,10 @@ inherit cmake python3native
EXTRA_OECMAKE = "-DLIB='${baselib}' \
-DPYTHON_INCLUDE_PATH=${STAGING_INCDIR}/python${PYTHON_BASEVERSION}"
+# With Ninja it fails with:
+# ninja: error: build.ninja:282: bad $-escape (literal $ must be written as $$)
+OECMAKE_GENERATOR = "Unix Makefiles"
+
do_configure_prepend() {
export STAGING_LIBDIR=${STAGING_LIBDIR}
export STAGING_INCDIR=${STAGING_INCDIR}