606d0942f7
version:3.4.9 OpenCV 3.4.9 has been released. Bug fixes, optimizations and other enhancements are propagated into OpenCV 4.2.0.
18 lines
503 B
Makefile
18 lines
503 B
Makefile
# $NetBSD: options.mk,v 1.10 2020/02/13 09:23:46 adam Exp $
|
|
|
|
PKG_OPTIONS_VAR= PKG_OPTIONS.opencv
|
|
PKG_SUPPORTED_OPTIONS= ffmpeg
|
|
|
|
.include "../../mk/bsd.options.mk"
|
|
|
|
.if !empty(PKG_OPTIONS:Mffmpeg)
|
|
CMAKE_ARGS+= -DWITH_FFMPEG=ON
|
|
CMAKE_ARGS+= -DFFMPEG_INCLUDE_DIR=${PREFIX}/include/ffmpeg4
|
|
CMAKE_ARGS+= -DFFMPEG_LIB_DIR=${PREFIX}/lib/ffmpeg4
|
|
.include "../../multimedia/ffmpeg4/buildlink3.mk"
|
|
.else
|
|
CMAKE_ARGS+= -DWITH_FFMPEG=OFF
|
|
.endif
|
|
|
|
# FIXME: should be option.mk'ed instead
|
|
CMAKE_ARGS+= -DBUILD_DOCS=OFF
|