ports/net-im/libaccounts-glib/files/patch-meson.build
Tobias C. Berner 0c7fff5d2f net-im/libaccounts-glib: add tests-option to meson
Fixes:
  [...]
  Build type: native build
  WARNING: Unknown options: "tests"
  The value of new options can be set with:
  [...]

Reported by:	antoine
2020-07-25 08:46:51 +00:00

14 lines
309 B
Text

--- meson.build.orig 2020-04-14 20:19:50 UTC
+++ meson.build
@@ -36,5 +36,9 @@ root_dir = include_directories('.')
subdir('libaccounts-glib')
subdir('tools')
subdir('data')
-subdir('docs')
-subdir('tests')
+if get_option('docs')
+ subdir('docs')
+endif
+if get_option('tests')
+ subdir('tests')
+endif