summaryrefslogtreecommitdiffstats
path: root/util/cmake/configurejson2cmake.py
diff options
context:
space:
mode:
authorAlbert Astals Cid <[email protected]>2019-02-12 12:00:49 +0100
committerAlbert Astals Cid <[email protected]>2019-02-12 14:02:22 +0000
commit9bef044a0bec636ff08f7dcd6e16f6fadd612532 (patch)
tree72ccce7b9e7b3e50e4d72449ce75f988097ad955 /util/cmake/configurejson2cmake.py
parent0867dbf2f410b2096c62a9f40b75e4e5ab86dac9 (diff)
cmake: Search and enable the sqlite[3] plugin
Added to QtFeature.cmake a way to be able to run feature_module begin and end without having an actual module by passing NO_MODULE Change-Id: Ib708bd3878e2591da193d18563c8932cc4b75e7f Reviewed-by: Simon Hausmann <[email protected]>
Diffstat (limited to 'util/cmake/configurejson2cmake.py')
-rwxr-xr-xutil/cmake/configurejson2cmake.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/util/cmake/configurejson2cmake.py b/util/cmake/configurejson2cmake.py
index 870c56d4d61..e99bb27bc29 100755
--- a/util/cmake/configurejson2cmake.py
+++ b/util/cmake/configurejson2cmake.py
@@ -81,6 +81,7 @@ def map_library(lib: str) -> Union[str, LibraryMapping, List[str]]:
'posix_iconv': None,
'pps': 'PPS',
'slog2': 'Slog2',
+ 'sqlite3': 'SQLite3',
'sun_iconv': None,
'tslib': 'Tslib',
'udev': 'Libudev',
@@ -731,6 +732,9 @@ def parseFeature(ctx, feature, data, cm_fh):
'separate_debug_info': None,
'shared': None,
'silent': None,
+ 'sql-sqlite' : {
+ 'condition': 'QT_FEATURE_datestring AND SQLite3_FOUND',
+ },
'stack-protector-strong': None,
'static': None,
'static_runtime': None,
@@ -746,6 +750,7 @@ def parseFeature(ctx, feature, data, cm_fh):
'system-jpeg': None,
'system-pcre2': None,
'system-png': None,
+ 'system-sqlite': None,
'system-xcb': None,
'system-zlib': None,
'use_gold_linker': None,