dependencies/dev: Use ext_deps for GTest in GMock

Rather than assigning the gtest variables to gmock, just set gtest as
a sub dependency.
pull/5225/head
Dylan Baker 6 years ago
parent 6ad7fbf950
commit 63090605a5
  1. 5
      mesonbuild/dependencies/dev.py

@ -132,10 +132,7 @@ class GMockDependency(ExternalDependency):
if not gtest_dep.is_found:
self.is_found = False
return
self.compile_args = gtest_dep.compile_args
self.link_args = gtest_dep.link_args
self.sources = gtest_dep.sources
self.ext_deps.append(gtest_dep)
# GMock may be a library or just source.
# Work with both.

Loading…
Cancel
Save