Annotation of pkgsrc/databases/prometheus-cpp/options.mk, revision 1.1
1.1 ! nia 1: # $NetBSD: options.mk,v 1.2 2023/07/20 09:46:34 nia Exp $
! 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)
! 11: TEST_TARGET= test
! 12: CMAKE_ARGS+= -DENABLE_TESTING=ON
! 13: # XXX: it's using an internal copy...
! 14: #. include "../../devel/googletest/buildlink3.mk"
! 15: .else
! 16: CMAKE_ARGS+= -DENABLE_TESTING=OFF
! 17: .endif
CVSweb <webmaster@jp.NetBSD.org>