From 8dcf7d2674bfaa18dc0dfd623c58286bf85260ff Mon Sep 17 00:00:00 2001 From: Leander Beernaert Date: Tue, 24 Mar 2020 16:29:54 +0100 Subject: CMake: Add support for bundled SQLite library Change-Id: I4d3f6e3bf04eb2fcf337e2c5dbc04b6e6f8ebe0b Reviewed-by: Alexandru Croitor --- util/cmake/pro2cmake.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'util/cmake/pro2cmake.py') diff --git a/util/cmake/pro2cmake.py b/util/cmake/pro2cmake.py index 8f46b04c74..618e43c356 100755 --- a/util/cmake/pro2cmake.py +++ b/util/cmake/pro2cmake.py @@ -1550,6 +1550,7 @@ def map_condition(condition: str) -> str: r"DEFINES___contains___QT_NO_TRANSLATION", r"(NOT QT_FEATURE_translation)", condition ) condition = re.sub(r"styles___contains___fusion", r"QT_FEATURE_style_fusion", condition) + condition = re.sub(r"CONFIG___contains___largefile", r"QT_FEATURE_largefile", condition) condition = condition.replace("cross_compile", "CMAKE_CROSSCOMPILING") @@ -1571,6 +1572,7 @@ def map_condition(condition: str) -> str: and not feature_name.startswith("system_tiff") and not feature_name.startswith("system_assimp") and not feature_name.startswith("system_doubleconversion") + and not feature_name.startswith("system_sqlite") ): part = "ON" elif feature == "dlopen": -- cgit v1.2.3