Skip to contentSkip to conversation

opencv: The 'v4l' PACKAGECONFIG should disable libv4l as well

PATCH New Otavio Salvador 1 participant 1 message Jul 17, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 opencv: The 'v4l' PACKAGECONFIG should disable libv4l as well

When disabling the Video 4 Linux support, the libv4l should be disabled as well.

---
 meta-oe/recipes-support/opencv/opencv_2.4.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-oe/recipes-support/opencv/opencv_2.4.bb +1 -1
index f8946f4..3ef49da 100644
@@ -39,7 +39,7 @@ PACKAGECONFIG[jpeg] = "-DWITH_JPEG=ON,-DWITH_JPEG=OFF,jpeg,"
 PACKAGECONFIG[libav] = "-DWITH_FFMPEG=ON,-DWITH_FFMPEG=OFF,libav,"
 PACKAGECONFIG[png] = "-DWITH_PNG=ON,-DWITH_PNG=OFF,libpng,"
 PACKAGECONFIG[tiff] = "-DWITH_TIFF=ON,-DWITH_TIFF=OFF,tiff,"
-PACKAGECONFIG[v4l] = "-DWITH_V4L=ON,-DWITH_V4L=OFF,v4l-utils,"
+PACKAGECONFIG[v4l] = "-DWITH_V4L=ON -DWITH_LIBV4L=ON,-DWITH_V4L=OFF -DWITH_LIBV4L=OFF,v4l-utils,"
 PACKAGECONFIG[jasper] = "-DWITH_JASPER=ON,-DWITH_JASPER=OFF,jasper,"
 
 inherit distutils-base pkgconfig cmake
Signature · 1 line
2.4.6