[libgda] meson: fixing detecting system installed SQLite
- From: Daniel Espinosa Ortiz <despinosa src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libgda] meson: fixing detecting system installed SQLite
- Date: Mon, 25 Feb 2019 23:13:33 +0000 (UTC)
commit cbd6488e254f9da16cb2526f544628006b4c1a06
Author: Daniel Espinosa Ortiz <esodan gmail com>
Date: Mon Feb 25 14:04:56 2019 -0600
meson: fixing detecting system installed SQLite
meson.build | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
---
diff --git a/meson.build b/meson.build
index 7ef25ddbb..6ae3bffb2 100644
--- a/meson.build
+++ b/meson.build
@@ -109,9 +109,14 @@ lbdb_cargs = []
sqlite_dep = dependency ('sqlite3', version: '>= 3.22.0', required: false)
sqlite_internal = true
if sqlite_dep.found()
- sqlite3_table_column_metadata = compiler.has_function('sqlite3_table_column_metadata', required:
false)
+ sqlite3_table_column_metadata = compiler.has_function('sqlite3_table_column_metadata',
+ required: false,
+ dependencies: sqlite_dep)
if not sqlite3_table_column_metadata
+ message('Using embeded SQLite library')
sqlite_internal = false
+ else
+ message('Using system installed SQLite library')
endif
endif
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]