From 7e315ef53a9574ee1760b653a6b326d60e5bd15b Mon Sep 17 00:00:00 2001 From: Michael Palimaka Date: Sat, 11 Jan 2014 20:03:54 +1100 Subject: Improve dependency specifications. QtTest and QtConcurrent are only required for autotests, so no need to find them unconditionally. QtWidgets is not actually used - QtGui is instead. REVIEW: 114962 --- src/gui/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/gui/CMakeLists.txt b/src/gui/CMakeLists.txt index e6ef7468..fc2ace47 100644 --- a/src/gui/CMakeLists.txt +++ b/src/gui/CMakeLists.txt @@ -1,6 +1,6 @@ -find_package(Qt5Widgets 5.2.0 REQUIRED NO_MODULE) -find_package(Qt5Xml 5.2.0 REQUIRED NO_MODULE) +find_package(Qt5Gui ${QT_REQUIRED_VERSION} REQUIRED NO_MODULE) +find_package(Qt5Xml ${QT_REQUIRED_VERSION} REQUIRED NO_MODULE) set(libkconfiggui_SRCS kconfiggui.cpp -- cgit v1.2.1