From 158b6e1152413e4fa973b70b7469bb1f256a1f38 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= <slavek.banko@axis.cz>
Date: Fri, 12 Jun 2020 03:56:33 +0200
Subject: Use private linking for exported CMake targets.
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
---
 interfaces/tdetexteditor/CMakeLists.txt | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

(limited to 'interfaces')

diff --git a/interfaces/tdetexteditor/CMakeLists.txt b/interfaces/tdetexteditor/CMakeLists.txt
index 5438c85e1..1849af27e 100644
--- a/interfaces/tdetexteditor/CMakeLists.txt
+++ b/interfaces/tdetexteditor/CMakeLists.txt
@@ -98,6 +98,7 @@ set( ${target}_SRCS
 tde_add_library( ${target} SHARED AUTOMOC
   SOURCES ${${target}_SRCS}
   VERSION 0.0.0
-  LINK tdeui-shared tdeabc-shared tdeparts-shared
+  LINK tdeui-shared tdeparts-shared
+  LINK_PRIVATE tdeabc-shared
   DESTINATION ${LIB_INSTALL_DIR}
 )
-- 
cgit v1.2.1