diff options
author | Max Kellermann <max@musicpd.org> | 2020-06-04 14:47:08 +0200 |
---|---|---|
committer | Max Kellermann <max@musicpd.org> | 2020-06-04 14:56:43 +0200 |
commit | 0cefb61a2e750a7097d6f4e11681ed83becb11d7 (patch) | |
tree | a2e97f35ac350eb4ce3e574f914729cf7a96780e /test | |
parent | b7ab1a9d790d7df5e48314986c03109daf6976b3 (diff) |
test/meson.build: install GTest from fallback Meson wrap
Diffstat (limited to 'test')
-rw-r--r-- | test/meson.build | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/meson.build b/test/meson.build index 25561f2ee..e6cb1cfb1 100644 --- a/test/meson.build +++ b/test/meson.build @@ -22,8 +22,9 @@ if compiler.get_id() == 'clang' and compiler.version().version_compare('>=9') ] endif +gtest_main_dep = dependency('gtest', main: true, fallback: ['gtest', 'gtest_main_dep']) gtest_dep = declare_dependency( - dependencies: [dependency('gtest', main: true)], + dependencies: [gtest_main_dep], compile_args: gtest_compile_args, ) |