summaryrefslogtreecommitdiffstats
path: root/tests/libfuzzer/gui/painting/qcolorspace
diff options
context:
space:
mode:
authorKai Köhne <kai.koehne@qt.io>2021-12-03 17:00:08 +0100
committerKai Koehne <kai.koehne@qt.io>2021-12-13 14:16:26 +0000
commit9ca7429dff4b5d46114ca36147f65b61d5e61290 (patch)
tree34964d245e4b42240bee2a9a49c5965087b372e2 /tests/libfuzzer/gui/painting/qcolorspace
parent28a9d116bba00fde5aaa214bb7c929efc66af971 (diff)
Tests: Use REQUIRED COMPONENTS in find_package(Qt6...)
Make sure configure fails early if a component cannot be found. Task-number: QTBUG-98867 Pick-to: 6.2 6.3 Change-Id: I4baa35a84342df58ce8932601fb602be92ed5ab9 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'tests/libfuzzer/gui/painting/qcolorspace')
-rw-r--r--tests/libfuzzer/gui/painting/qcolorspace/fromiccprofile/CMakeLists.txt3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/libfuzzer/gui/painting/qcolorspace/fromiccprofile/CMakeLists.txt b/tests/libfuzzer/gui/painting/qcolorspace/fromiccprofile/CMakeLists.txt
index 5ca99fc305..9c77939a2a 100644
--- a/tests/libfuzzer/gui/painting/qcolorspace/fromiccprofile/CMakeLists.txt
+++ b/tests/libfuzzer/gui/painting/qcolorspace/fromiccprofile/CMakeLists.txt
@@ -7,8 +7,7 @@ set(CMAKE_AUTOMOC ON)
set(CMAKE_AUTORCC ON)
set(CMAKE_AUTOUIC ON)
-find_package(Qt6 COMPONENTS Core)
-find_package(Qt6 COMPONENTS Gui)
+find_package(Qt6 REQUIRED COMPONENTS Core Gui)
qt_add_executable(fromiccprofile
main.cpp