From d37bb843d18966a1b2f38e49363dc9f8ebbaed43 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= 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 (cherry picked from commit 158b6e1152413e4fa973b70b7469bb1f256a1f38) --- interfaces/ktexteditor/CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'interfaces/ktexteditor') 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} ) -- cgit v1.2.1