Annotation of pkgsrc/databases/prometheus-cpp/options.mk, revision 1.4
1.4 ! wiz 1: # $NetBSD: options.mk,v 1.3 2025/05/19 12:46:50 wiz Exp $
1.1 nia 2:
3: PKG_OPTIONS_VAR= PKG_OPTIONS.prometheus-cpp
4:
5: # Tests are not installed, so default off.
6: PKG_SUPPORTED_OPTIONS= tests
7:
8: .include "../../mk/bsd.options.mk"
9:
10: .if !empty(PKG_OPTIONS:Mtests)
1.3 wiz 11: TEST_TARGET= test
1.2 wiz 12: CMAKE_CONFIGURE_ARGS+= -DENABLE_TESTING=ON
1.4 ! wiz 13: # needed for pull test
! 14: ALLOW_NETWORK_ACCESS= yes
1.1 nia 15: # XXX: it's using an internal copy...
16: #. include "../../devel/googletest/buildlink3.mk"
17: .else
1.2 wiz 18: CMAKE_CONFIGURE_ARGS+= -DENABLE_TESTING=OFF
1.1 nia 19: .endif
CVSweb <webmaster@jp.NetBSD.org>