diff options
author | Tomas Popela <tpopela@redhat.com> | 2017-11-14 12:07:30 +0100 |
---|---|---|
committer | Tomas Popela <tpopela@redhat.com> | 2018-04-11 12:39:19 +0200 |
commit | a2db5fec29b304e63af6c21a3015932f4f6f5d67 (patch) | |
tree | 900a9e7be4d1ee4c46003f1cb964155148500124 /meson.build | |
parent | 8ab7c08def462cc34bf8c985e054daade07f3581 (diff) | |
download | libsoup-a2db5fec29b304e63af6c21a3015932f4f6f5d67.tar.gz |
Put tests compilation behind the 'enable-tests' option
In Autotools port it is behind 'enable-installed-tests' option. Also
default to compiling all the tests by default.
Diffstat (limited to 'meson.build')
-rw-r--r-- | meson.build | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/meson.build b/meson.build index 0750a2e4..80d8e55d 100644 --- a/meson.build +++ b/meson.build @@ -205,7 +205,10 @@ endif subdir('libsoup') subdir('examples') -subdir('tests') + +if get_option('enable-tests') + subdir('tests') + endif if get_option('enable-gtk-doc') subdir('docs/reference') |