aboutsummaryrefslogtreecommitdiff
path: root/share/mk/src.opts.mk
diff options
context:
space:
mode:
authorEnji Cooper <ngie@FreeBSD.org>2019-02-20 00:12:24 +0000
committerEnji Cooper <ngie@FreeBSD.org>2019-02-20 00:12:24 +0000
commit06beea0e7e8808426d2eea076bce98e06a148560 (patch)
treecbcfd9c7deb87ec28aa99ba24034389287f564bc /share/mk/src.opts.mk
parent4309e4b5b4809be18f1b469c7fcf667ccffc7cc3 (diff)
downloadsrc-06beea0e7e8808426d2eea076bce98e06a148560.tar.gz
src-06beea0e7e8808426d2eea076bce98e06a148560.zip
MK_GOOGLETEST should be enabled/disabled based on MK_TESTS_SUPPORT
Making MK_GOOGLETEST rely on MK_TESTS makes it impossible to rely on in buildworld, which is not desirable for items like `cddl/usr.sbin/zfsd/tests`.
Notes
Notes: svn path=/projects/import-googletest-1.8.1/; revision=344322
Diffstat (limited to 'share/mk/src.opts.mk')
-rw-r--r--share/mk/src.opts.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/share/mk/src.opts.mk b/share/mk/src.opts.mk
index 70e8aacd070f..f4ce1233cef8 100644
--- a/share/mk/src.opts.mk
+++ b/share/mk/src.opts.mk
@@ -507,6 +507,9 @@ MK_FREEBSD_UPDATE:= no
.if ${MK_TESTS} == "no"
MK_DTRACE_TESTS:= no
+.endif
+
+.if ${MK_TESTS_SUPPORT} == "no"
MK_GOOGLETEST:= no
.endif