From f3f9694142af0bfd508fc3face49b242ba6c81b0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kai=20K=C3=B6hne?= Date: Wed, 11 May 2022 13:57:10 +0200 Subject: Examples: Use REQUIRED COMPONENTS where possible This will result in a better error message if the components are not available. Pick-to: 6.3 Change-Id: Ib691643a9562981863eab5c27ce436814858e2e9 Reviewed-by: Allan Sandfeld Jensen --- examples/webenginequick/customtouchhandle/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples/webenginequick') diff --git a/examples/webenginequick/customtouchhandle/CMakeLists.txt b/examples/webenginequick/customtouchhandle/CMakeLists.txt index 5062e5d53..3ec47e8bd 100644 --- a/examples/webenginequick/customtouchhandle/CMakeLists.txt +++ b/examples/webenginequick/customtouchhandle/CMakeLists.txt @@ -9,7 +9,7 @@ endif() set(INSTALL_EXAMPLEDIR "${INSTALL_EXAMPLESDIR}/webenginequick/customtouchhandle") -find_package(Qt6 COMPONENTS Core Gui WebEngineQuick) +find_package(Qt6 REQUIRED COMPONENTS Core Gui WebEngineQuick) qt_add_executable(customtouchhandle main.cpp -- cgit v1.2.1