Fix FTBFS with -qt-sql-sqlite3

Fix FTBFS when sqlite3 sql driver is being built into the library

Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
(cherry picked from commit 3cba79c7f5)
r14.1.x
Alexander Golubev 9 months ago committed by Slávek Banko
parent cabcb339c6
commit 94c71d50f6
No known key found for this signature in database
GPG Key ID: 608F5293A04BE668

@ -255,6 +255,11 @@ sql {
HEADERS += $$SQL_CPP/drivers/sqlite3/qsql_sqlite3.h
SOURCES += $$SQL_CPP/drivers/sqlite3/qsql_sqlite3.cpp
DEFINES += QT_SQL_SQLITE3
unix {
!contains( LIBS, .*sqlite3.* ) {
LIBS *= -lsqlite3
}
}
}
}

Loading…
Cancel
Save