Override detection of OS for sqlite3
sqlite3 doesn't detect properly VxWorks. Add workaround that hardcodes detected OS to "UNIX". Change-Id: I255bb1af94caf7b15c0bd05a4d4d9df6a076fc22 Reviewed-by: Alexey Edelev <alexey.edelev@qt.io>bb10
parent
930535fe30
commit
141cd13ab4
|
|
@ -39,6 +39,11 @@ if(QT_FEATURE_system_sqlite)
|
|||
qt_internal_force_macos_intel_arch(QSQLiteDriverPlugin)
|
||||
endif()
|
||||
|
||||
qt_internal_extend_target(QSQLiteDriverPlugin CONDITION NOT QT_FEATURE_system_sqlite AND VXWORKS
|
||||
DEFINES
|
||||
SQLITE_OS_UNIX=1
|
||||
)
|
||||
|
||||
qt_internal_extend_target(QSQLiteDriverPlugin CONDITION NOT QT_FEATURE_system_sqlite
|
||||
SOURCES
|
||||
../../../3rdparty/sqlite/sqlite3.c
|
||||
|
|
|
|||
Loading…
Reference in New Issue