diff options
author | Kai Köhne <kai.koehne@qt.io> | 2021-12-03 17:00:08 +0100 |
---|---|---|
committer | Kai Koehne <kai.koehne@qt.io> | 2021-12-13 14:16:26 +0000 |
commit | 9ca7429dff4b5d46114ca36147f65b61d5e61290 (patch) | |
tree | 34964d245e4b42240bee2a9a49c5965087b372e2 /tests/libfuzzer/gui/text/qtextlayout | |
parent | 28a9d116bba00fde5aaa214bb7c929efc66af971 (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/text/qtextlayout')
-rw-r--r-- | tests/libfuzzer/gui/text/qtextlayout/beginlayout/CMakeLists.txt | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/libfuzzer/gui/text/qtextlayout/beginlayout/CMakeLists.txt b/tests/libfuzzer/gui/text/qtextlayout/beginlayout/CMakeLists.txt index eb51b36c69..e542ece703 100644 --- a/tests/libfuzzer/gui/text/qtextlayout/beginlayout/CMakeLists.txt +++ b/tests/libfuzzer/gui/text/qtextlayout/beginlayout/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(beginlayout main.cpp |