From 48625f9447caaea3fb9524169bb75dd881cdf4c9 Mon Sep 17 00:00:00 2001 From: Alexandru Croitor Date: Thu, 18 Apr 2019 11:40:47 +0200 Subject: Fix shiboken not to fail building when doc dependencies are missing QtXmlPatterns is now deprecated, and until we port to some other library, the CI will not have XmlPatterns anymore. Change the build system of shiboken to skip building the documentation parts if the dependency is missing. Change-Id: I75d38502cd1efa84f7ec148622ffbf26084d0c35 Reviewed-by: Friedemann Kleint Reviewed-by: Qt CI Bot --- sources/shiboken2/ApiExtractor/tests/CMakeLists.txt | 2 -- 1 file changed, 2 deletions(-) (limited to 'sources/shiboken2/ApiExtractor/tests/CMakeLists.txt') diff --git a/sources/shiboken2/ApiExtractor/tests/CMakeLists.txt b/sources/shiboken2/ApiExtractor/tests/CMakeLists.txt index e100ef493..1429a63b1 100644 --- a/sources/shiboken2/ApiExtractor/tests/CMakeLists.txt +++ b/sources/shiboken2/ApiExtractor/tests/CMakeLists.txt @@ -1,8 +1,6 @@ find_package(Qt5Core) find_package(Qt5Gui) find_package(Qt5Test) -find_package(Qt5Xml) -find_package(Qt5XmlPatterns) set(CMAKE_AUTORCC ON) -- cgit v1.2.3