From bacfc218112b2aab7ab2119028b23ecaca391995 Mon Sep 17 00:00:00 2001 From: Alexandru Croitor Date: Wed, 3 Jul 2019 15:30:42 +0200 Subject: Search for Xml package and check for the Xml target for a test This fixes the CMake configuration to succeed if the Xml package is not built. Change-Id: I062ef1dc70c3eef286eaadb62a5fe6b7c827f3db Reviewed-by: Simon Hausmann --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index 8004d78..ce44afe 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -8,4 +8,5 @@ project(QtSvg ) find_package(Qt6 ${PROJECT_VERSION} CONFIG REQUIRED COMPONENTS BuildInternals Core Gui Widgets) +find_package(Qt6 ${PROJECT_VERSION} CONFIG COMPONENTS Xml) # For tests qt_build_repo() -- cgit v1.2.1