diff options
author | Kai Köhne <kai.koehne@qt.io> | 2021-12-02 08:54:27 +0100 |
---|---|---|
committer | Kai Köhne <kai.koehne@qt.io> | 2021-12-10 10:48:26 +0100 |
commit | 7024e7a62701f99dc2adf519ec2a3ce9d5d7920b (patch) | |
tree | bc701690586010190a043b181a3e937edcaeb8d2 /examples/dbus/complexpingpong/CMakeLists.txt | |
parent | 0800947d7d2127eacaabf66ee1702d4980897041 (diff) |
Examples: Use find_package(Qt6 REQUIRED COMPONENTS ...) idiom
Also consolidate several find_package(Qt6 ...) calls in one call.
Task-number: QTBUG-98867
Change-Id: Idfd5e71f46d4489fac7411cbfadb84437a0658f3
Reviewed-by: Alexey Edelev <alexey.edelev@qt.io>
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Diffstat (limited to 'examples/dbus/complexpingpong/CMakeLists.txt')
-rw-r--r-- | examples/dbus/complexpingpong/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/dbus/complexpingpong/CMakeLists.txt b/examples/dbus/complexpingpong/CMakeLists.txt index 13c6d66850..7302d7b591 100644 --- a/examples/dbus/complexpingpong/CMakeLists.txt +++ b/examples/dbus/complexpingpong/CMakeLists.txt @@ -13,7 +13,7 @@ endif() set(INSTALL_EXAMPLEDIR "${INSTALL_EXAMPLESDIR}/dbus/complexpingpong") -find_package(Qt6 COMPONENTS Core DBus) +find_package(Qt6 REQUIRED COMPONENTS Core DBus) qt_add_executable(complexping complexping.cpp complexping.h |