build: fix building without tests support

This commit is contained in:
Aleksander Morgado
2022-11-07 14:25:34 +00:00
parent 30d77d378a
commit 7ea2452b1e
3 changed files with 46 additions and 34 deletions
+3 -1
View File
@@ -124,4 +124,6 @@ libmm_generated_dep = declare_dependency(
link_whole: libmm_generated,
)
subdir('tests')
if enable_tests
subdir('tests')
endif