mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-30 22:11:59 -09:00
package/ffmpeg: add optional support for OpenCV4
Signed-off-by: Bernd Kuhls <bernd@kuhls.net> Signed-off-by: Julien Olivain <ju.o@free.fr>
This commit is contained in:
committed by
Julien Olivain
parent
962081259d
commit
3142a7cf31
@@ -297,6 +297,10 @@ endif
|
|||||||
ifeq ($(BR2_PACKAGE_OPENCV3_LIB_IMGPROC)x$(BR2_PACKAGE_OPENCV3_WITH_FFMPEG),yx)
|
ifeq ($(BR2_PACKAGE_OPENCV3_LIB_IMGPROC)x$(BR2_PACKAGE_OPENCV3_WITH_FFMPEG),yx)
|
||||||
FFMPEG_CONF_OPTS += --enable-libopencv
|
FFMPEG_CONF_OPTS += --enable-libopencv
|
||||||
FFMPEG_DEPENDENCIES += opencv3
|
FFMPEG_DEPENDENCIES += opencv3
|
||||||
|
else ifeq ($(BR2_PACKAGE_OPENCV4_LIB_IMGPROC)x$(BR2_PACKAGE_OPENCV4_WITH_FFMPEG),yx)
|
||||||
|
FFMPEG_CONF_OPTS += --enable-libopencv \
|
||||||
|
--extra-cflags=-I$(STAGING_DIR)/usr/include/opencv4
|
||||||
|
FFMPEG_DEPENDENCIES += opencv4
|
||||||
else
|
else
|
||||||
FFMPEG_CONF_OPTS += --disable-libopencv
|
FFMPEG_CONF_OPTS += --disable-libopencv
|
||||||
endif
|
endif
|
||||||
|
|||||||
Reference in New Issue
Block a user