diff options
author | Leander Beernaert <leander.beernaert@qt.io> | 2020-03-24 16:29:54 +0100 |
---|---|---|
committer | Leander Beernaert <leander.beernaert@qt.io> | 2020-03-25 13:52:05 +0100 |
commit | 8dcf7d2674bfaa18dc0dfd623c58286bf85260ff (patch) | |
tree | f1fa545db0d0c448e6017b3c5878406a610230c7 /src/plugins/sqldrivers/sqlite/.prev_CMakeLists.txt | |
parent | d0b30de54299e8e6e8b1df0c138494c17c2b2642 (diff) |
CMake: Add support for bundled SQLite library
Change-Id: I4d3f6e3bf04eb2fcf337e2c5dbc04b6e6f8ebe0b
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'src/plugins/sqldrivers/sqlite/.prev_CMakeLists.txt')
-rw-r--r-- | src/plugins/sqldrivers/sqlite/.prev_CMakeLists.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/sqldrivers/sqlite/.prev_CMakeLists.txt b/src/plugins/sqldrivers/sqlite/.prev_CMakeLists.txt index d258c23821..3f3c1fabbf 100644 --- a/src/plugins/sqldrivers/sqlite/.prev_CMakeLists.txt +++ b/src/plugins/sqldrivers/sqlite/.prev_CMakeLists.txt @@ -28,7 +28,7 @@ qt_add_plugin(QSQLiteDriverPlugin qt_extend_target(QSQLiteDriverPlugin CONDITION QT_FEATURE_system_sqlite PUBLIC_LIBRARIES - sqlite + SQLite::SQLite3 ) qt_extend_target(QSQLiteDriverPlugin CONDITION NOT QT_FEATURE_system_sqlite @@ -51,7 +51,7 @@ qt_extend_target(QSQLiteDriverPlugin CONDITION CMAKE_BUILD_TYPE STREQUAL Release NDEBUG ) -qt_extend_target(QSQLiteDriverPlugin CONDITION NOT CONFIG___contains___largefile AND NOT QT_FEATURE_system_sqlite +qt_extend_target(QSQLiteDriverPlugin CONDITION NOT QT_FEATURE_largefile AND NOT QT_FEATURE_system_sqlite DEFINES SQLITE_DISABLE_LFS ) |