summaryrefslogtreecommitdiff
path: root/security/mbedtls/options.mk
blob: 3a1971c5542b0c2f9107614a638f887a45a9f444 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# $NetBSD: options.mk,v 1.4 2020/07/07 11:16:10 nia Exp $

PKG_OPTIONS_VAR=	PKG_OPTIONS.mbedtls
PKG_SUPPORTED_OPTIONS=	zlib
PKG_SUGGESTED_OPTIONS=

.include "../../mk/bsd.options.mk"

.if !empty(PKG_OPTIONS:Mzlib)
.  include "../../devel/zlib/buildlink3.mk"
CMAKE_ARGS+=	-DENABLE_ZLIB_SUPPORT=ON
.else
CMAKE_ARGS+=	-DENABLE_ZLIB_SUPPORT=OFF
.endif