forked from qt-creator/qt-creator
Sqlite: Disable QmlDesigner plugin for Qt 5 based builds
Sqlite is only used by the qmldesigner plugin. Because the qmldesigner is disabled for older Qt version Sqlite should not be built too. Change-Id: I7cdf2c1705f22ba07daea747858cd56b4dcb0437 Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
This commit is contained in:
@@ -4,6 +4,7 @@ add_qtc_library(Sqlite
|
|||||||
BUILD_SQLITE_LIBRARY
|
BUILD_SQLITE_LIBRARY
|
||||||
SQLITE_CORE
|
SQLITE_CORE
|
||||||
DEPENDS Qt5::Core Threads::Threads ${CMAKE_DL_LIBS}
|
DEPENDS Qt5::Core Threads::Threads ${CMAKE_DL_LIBS}
|
||||||
|
CONDITION Qt5_VERSION VERSION_GREATER_EQUAL 6.2.0
|
||||||
PUBLIC_INCLUDES
|
PUBLIC_INCLUDES
|
||||||
"${CMAKE_CURRENT_LIST_DIR}"
|
"${CMAKE_CURRENT_LIST_DIR}"
|
||||||
../3rdparty/sqlite
|
../3rdparty/sqlite
|
||||||
|
Reference in New Issue
Block a user