summaryrefslogtreecommitdiff
path: root/security/mbedtls3/options.mk
blob: f5af5c1ec8af619bcb2057ec7282c5ddb35d443c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# $NetBSD: options.mk,v 1.1 2022/08/11 06:49:16 wiz Exp $

PKG_OPTIONS_VAR=	PKG_OPTIONS.mbedtls3
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