From 22ae50b59f55fb32674739ee29b2d88ab8f7d196 Mon Sep 17 00:00:00 2001 From: King_DuckZ Date: Wed, 16 Sep 2020 22:17:03 +0200 Subject: [PATCH] disabler() would cause the program not to compile Dependency must be set to not-found instead. --- src/meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/meson.build b/src/meson.build index 72c2854..de643d7 100644 --- a/src/meson.build +++ b/src/meson.build @@ -43,7 +43,7 @@ if not get_option('with_sqlite').disabled() required: get_option('with_sqlite'), ) else - sqlitecpp_dep = disabler() + sqlitecpp_dep = dependency('', required: false) endif cpp_comp = meson.get_compiler('cpp')