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`.
This commit is contained in:
Enji Cooper 2019-02-20 00:12:24 +00:00
parent 4309e4b5b4
commit 06beea0e7e
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/projects/import-googletest-1.8.1/; revision=344322

View File

@ -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