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-26 17:28:11 -0800
commit27c474bd3e1367bf2d1d7f2cbf99d9de541e8de9 (patch)
treef45c2f7dbdb57d11c1a2d9ae6ec4b1f94cfb8f8e
parentf05ba6b799077ad268f7d2715c93ea00ed76b615 (diff)
downloadmeta-openembedded-27c474bd3e1367bf2d1d7f2cbf99d9de541e8de9.tar.gz
meta-openembedded-27c474bd3e1367bf2d1d7f2cbf99d9de541e8de9.tar.bz2
meta-openembedded-27c474bd3e1367bf2d1d7f2cbf99d9de541e8de9.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 25166ab58..987c09fe5 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}