diff options
author | Kai Koehne <kai.koehne@qt.io> | 2020-05-22 10:32:02 +0200 |
---|---|---|
committer | Kai Koehne <kai.koehne@qt.io> | 2020-05-26 15:11:40 +0200 |
commit | 1c0ca1f3d840b3ae4f5d11f8657ea0680915ab68 (patch) | |
tree | 7ae74188fc88b1345144cce2932692977480dd91 /src/dbus/doc/snippets/CMakeLists.txt | |
parent | 162ea888bf19fda2ccd28e58bf4688d96cf2b6af (diff) |
Document how to use CMake for Qt DBus
Task-number: QTBUG-73058
Change-Id: Ibe0779d109682cc41e21783a3ba5fa5130d5ff7f
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
Diffstat (limited to 'src/dbus/doc/snippets/CMakeLists.txt')
-rw-r--r-- | src/dbus/doc/snippets/CMakeLists.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/dbus/doc/snippets/CMakeLists.txt b/src/dbus/doc/snippets/CMakeLists.txt new file mode 100644 index 0000000000..c9f398a22f --- /dev/null +++ b/src/dbus/doc/snippets/CMakeLists.txt @@ -0,0 +1,4 @@ +#! [cmake_use] +find_package(Qt6 COMPONENTS DBus REQUIRED) +target_link_libraries(mytarget Qt::DBus) +#! [cmake_use] |