Annotation of pkgsrc/databases/prometheus-cpp/options.mk, revision 1.3

1.3     ! wiz         1: # $NetBSD: options.mk,v 1.2 2024/08/25 06:18:31 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.1       nia        13: # XXX: it's using an internal copy...
                     14: #.  include "../../devel/googletest/buildlink3.mk"
                     15: .else
1.2       wiz        16: CMAKE_CONFIGURE_ARGS+= -DENABLE_TESTING=OFF
1.1       nia        17: .endif

CVSweb <webmaster@jp.NetBSD.org>