aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorAqua-sama <aqua@iserlohn-fortress.net>2019-11-03 00:31:51 +0200
committerAqua-sama <aqua@iserlohn-fortress.net>2019-11-03 00:31:51 +0200
commitf570f662d73bd27db15ff889f20619625deb7ee5 (patch)
tree6f6972ad374ed412afbfdcc8352438531fd93f94 /lib
parentDrop boost dependency (diff)
downloadsmolbote-f570f662d73bd27db15ff889f20619625deb7ee5.tar.xz
Make gtest optional dependency and remove -Dtesting
Diffstat (limited to 'lib')
-rw-r--r--lib/urlfilter/meson.build2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/urlfilter/meson.build b/lib/urlfilter/meson.build
index b017eb5..2591028 100644
--- a/lib/urlfilter/meson.build
+++ b/lib/urlfilter/meson.build
@@ -10,7 +10,7 @@ dep_urlfilter = declare_dependency(
link_with: urlfilter_lib
)
-if get_option('testing').enabled()
+if dep_gtest.found()
test('urlfilter: matcher',
executable('urlfilter-matcher', dependencies: [dep_qt5, dep_gtest, dep_urlfilter], sources: ['test/matcher.cpp']),
workdir: meson.current_source_dir() / 'test'