summaryrefslogtreecommitdiffstats
path: root/src/gui/doc
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/doc')
-rw-r--r--src/gui/doc/snippets/overview/using-qt-gui.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/doc/snippets/overview/using-qt-gui.cmake b/src/gui/doc/snippets/overview/using-qt-gui.cmake
index 687a83a2d0..65a3f9034a 100644
--- a/src/gui/doc/snippets/overview/using-qt-gui.cmake
+++ b/src/gui/doc/snippets/overview/using-qt-gui.cmake
@@ -1,2 +1,2 @@
find_package(Qt6 COMPONENTS Gui REQUIRED)
-target_link_libraries(mytarget Qt6::Gui)
+target_link_libraries(mytarget PRIVATE Qt6::Gui)