summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/cmake/pass1/CMakeLists.txt3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/auto/cmake/pass1/CMakeLists.txt b/tests/auto/cmake/pass1/CMakeLists.txt
index d8efadc8ed..50a3375a15 100644
--- a/tests/auto/cmake/pass1/CMakeLists.txt
+++ b/tests/auto/cmake/pass1/CMakeLists.txt
@@ -10,8 +10,7 @@ set(CMAKE_INCLUDE_CURRENT_DIR ON)
add_executable(two two.cpp)
add_executable(three three.cpp)
-find_package(Qt5Test)
-find_package(Qt5Widgets)
+find_package(Qt5Core)
qt5_use_modules(two Test)
qt5_use_modules(three Widgets Test)