mirror of https://github.com/qt/qt5compat.git
Skip sax autotests if XML is disabled
Qt lite configurations may disable XML altogether (-no-feature-xml). Sax autotests link and rely on XML => disable tests when XML is disabled. Fixes: QTBUG-136673 Change-Id: Idd837781651d2b834a28ee8cd52516886a95b744 Reviewed-by: Ivan Solovev <ivan.solovev@qt.io>
This commit is contained in:
parent
6d6637757f
commit
9be52337fd
|
@ -5,7 +5,9 @@
|
|||
|
||||
add_subdirectory(codecs)
|
||||
add_subdirectory(io)
|
||||
add_subdirectory(sax)
|
||||
if (TARGET Qt::Xml)
|
||||
add_subdirectory(sax)
|
||||
endif()
|
||||
add_subdirectory(serialization)
|
||||
add_subdirectory(text)
|
||||
add_subdirectory(tools)
|
||||
|
|
Loading…
Reference in New Issue