summaryrefslogtreecommitdiffstats
path: root/util/cmake/pro2cmake.py
diff options
context:
space:
mode:
authorLeander Beernaert <leander.beernaert@qt.io>2020-03-24 16:29:54 +0100
committerLeander Beernaert <leander.beernaert@qt.io>2020-03-25 13:52:05 +0100
commit8dcf7d2674bfaa18dc0dfd623c58286bf85260ff (patch)
treef1fa545db0d0c448e6017b3c5878406a610230c7 /util/cmake/pro2cmake.py
parentd0b30de54299e8e6e8b1df0c138494c17c2b2642 (diff)
CMake: Add support for bundled SQLite library
Change-Id: I4d3f6e3bf04eb2fcf337e2c5dbc04b6e6f8ebe0b Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'util/cmake/pro2cmake.py')
-rwxr-xr-xutil/cmake/pro2cmake.py2
1 files changed, 2 insertions, 0 deletions
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":