diff --git a/CMakeLists.txt b/CMakeLists.txt --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -24,7 +24,6 @@ find_package(Qt5 ${QT_MIN_VERSION} CONFIG REQUIRED COMPONENTS Core Widgets - Test ) find_package(KF5 ${KF5_MIN_VERSION} REQUIRED COMPONENTS Config diff --git a/kstats/autotests/CMakeLists.txt b/kstats/autotests/CMakeLists.txt --- a/kstats/autotests/CMakeLists.txt +++ b/kstats/autotests/CMakeLists.txt @@ -1,4 +1,5 @@ include(ECMAddTests) +find_package(Qt5 REQUIRED CONFIG COMPONENTS Test) set(SOURCES main.cpp