build: Use Fetch Content for Gtest
Use Fetch Content to get gtest and gmock
This commit is contained in:
committed by
Chris Rizzitello
parent
b1fa9eadd9
commit
949e1c0d71
@ -30,11 +30,6 @@ def meson_venv_bin():
|
||||
def setup(no_system_list, static_list):
|
||||
cmd = [meson_venv_bin(), "setup", build_dir]
|
||||
|
||||
# TODO: These special Windows exceptions should probably be in Meson
|
||||
# or somewhere other than this script, as it's a bit hacky.
|
||||
if env.is_windows():
|
||||
cmd.append("-Dsystem-gtest=false")
|
||||
|
||||
for subproject in no_system_list or []:
|
||||
cmd.append(f"-Dsystem-{subproject}=false")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user