blob: 3ebd4092c261dc3d5095698b8ef0d7b5ec816520 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
# $NetBSD: options.mk,v 1.6 2015/10/08 17:45:59 fhajny Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.opencv
PKG_SUPPORTED_OPTIONS= ffmpeg
.include "../../mk/bsd.options.mk"
.if !empty(PKG_OPTIONS:Mffmpeg)
CMAKE_ARGS+= -D WITH_FFMPEG=ON
CMAKE_ARGS+= -D FFMPEG_INCLUDE_DIR=${PREFIX}/include/ffmpeg2
CMAKE_ARGS+= -D FFMPEG_LIB_DIR=${PREFIX}/lib/ffmpeg2
.include "../../multimedia/ffmpeg2/buildlink3.mk"
.else
CMAKE_ARGS+= -D WITH_FFMPEG=OFF
.endif
# FIXME: should be option.mk'ed instead
CMAKE_ARGS+= -D BUILD_DOCS=OFF
|