diff options
author | Koen Kooi <koen@dominion.thruhere.net> | 2013-03-17 10:33:33 +0000 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2013-03-21 22:01:08 +0100 |
commit | 6663d9c05efe9b604bd8596a21cd38344e2fa3a1 (patch) | |
tree | fe4a769ced7f488653c0e477ac18f9ebbb19dc41 /meta-oe/recipes-support | |
parent | 193c4ad89cf7ab43ff03f849bf47f2cbad99bf3b (diff) | |
download | meta-openembedded-contrib-6663d9c05efe9b604bd8596a21cd38344e2fa3a1.tar.gz |
opencv: switch to out-of-tree builds
This eliminates a few warnings from the configure step and makes sense in general.
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-oe/recipes-support')
-rw-r--r-- | meta-oe/recipes-support/opencv/opencv_2.4.3.bb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/meta-oe/recipes-support/opencv/opencv_2.4.3.bb b/meta-oe/recipes-support/opencv/opencv_2.4.3.bb index 2114e77f3b..916c8c57e3 100644 --- a/meta-oe/recipes-support/opencv/opencv_2.4.3.bb +++ b/meta-oe/recipes-support/opencv/opencv_2.4.3.bb @@ -20,6 +20,10 @@ PR = "r2" S = "${WORKDIR}/OpenCV-${PV}" +# Do an out-of-tree build +OECMAKE_SOURCEPATH = "${S}" +OECMAKE_BUILDPATH = "${WORKDIR}/build-${TARGET_ARCH}" + EXTRA_OECMAKE = "-DPYTHON_NUMPY_INCLUDE_DIR:PATH=${STAGING_LIBDIR}/${PYTHON_DIR}/site-packages/numpy/core/include \ -DBUILD_PYTHON_SUPPORT=ON \ -DWITH_FFMPEG=ON \ |