summaryrefslogtreecommitdiffstats
path: root/interfaces/ktexteditor
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2020-06-12 03:56:33 +0200
committerSlávek Banko <slavek.banko@axis.cz>2021-02-03 22:22:23 +0100
commitd37bb843d18966a1b2f38e49363dc9f8ebbaed43 (patch)
treefa898c1ef6d95e72c868f6f517829ce149323b69 /interfaces/ktexteditor
parentd336392f8fd8d954754cd3e53b7e119a1f3f351b (diff)
downloadtdelibs-d37bb843d18966a1b2f38e49363dc9f8ebbaed43.tar.gz
tdelibs-d37bb843d18966a1b2f38e49363dc9f8ebbaed43.zip
Use private linking for exported CMake targets.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit 158b6e1152413e4fa973b70b7469bb1f256a1f38)
Diffstat (limited to 'interfaces/ktexteditor')
-rw-r--r--interfaces/ktexteditor/CMakeLists.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/interfaces/ktexteditor/CMakeLists.txt b/interfaces/ktexteditor/CMakeLists.txt
index e86dfdb9f..a234009de 100644
--- a/interfaces/ktexteditor/CMakeLists.txt
+++ b/interfaces/ktexteditor/CMakeLists.txt
@@ -90,6 +90,7 @@ set( ${target}_SRCS
tde_add_library( ${target} SHARED AUTOMOC
SOURCES ${${target}_SRCS}
VERSION 0.0.0
- LINK kdeui-shared kabc-shared kparts-shared
+ LINK kdeui-shared kparts-shared
+ LINK_PRIVATE kabc-shared
DESTINATION ${LIB_INSTALL_DIR}
)