blob: 4850e4139ca9536f2e2f419bf5558164541c2c88 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
# $NetBSD: options.mk,v 1.5 2013/09/10 11:23:20 wiz Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.digikam
PKG_SUPPORTED_OPTIONS= debug lensfun liblqr pim
PKG_SUGGESTED_OPTIONS= liblqr pim
.include "../../mk/bsd.options.mk"
.if !empty(PKG_OPTIONS:Mdebug)
CMAKE_ARGS+= -DCMAKE_BUILD_TYPE=Debug
.endif
.if !empty(PKG_OPTIONS:Mlensfun)
.include "../../graphics/lensfun/buildlink3.mk"
.else
CMAKE_ARGS+= -DWITH_LensFun:BOOL=OFF
.endif
.if !empty(PKG_OPTIONS:Mliblqr)
.include "../../graphics/liblqr/buildlink3.mk"
.else
CMAKE_ARGS+= -DWITH_Lqr-1:BOOL=OFF
.endif
.if !empty(PKG_OPTIONS:Mpim)
.include "../../misc/kdepimlibs4/buildlink3.mk"
.else
CMAKE_ARGS+= -DWITH_KdepimLibs:BOOL=OFF
.endif
|