summaryrefslogtreecommitdiffstats
path: root/src/sql/doc/snippets/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'src/sql/doc/snippets/CMakeLists.txt')
-rw-r--r--src/sql/doc/snippets/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sql/doc/snippets/CMakeLists.txt b/src/sql/doc/snippets/CMakeLists.txt
index bb300f425b..2e74eed35a 100644
--- a/src/sql/doc/snippets/CMakeLists.txt
+++ b/src/sql/doc/snippets/CMakeLists.txt
@@ -1,4 +1,4 @@
#! [cmake_use]
find_package(Qt6 COMPONENTS Sql REQUIRED)
-target_link_libraries(mytarget Qt6::Sql)
+target_link_libraries(mytarget PRIVATE Qt6::Sql)
#! [cmake_use]