summaryrefslogtreecommitdiffstats
path: root/tdeio
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>2020-06-12 15:26:59 +0200
commit158b6e1152413e4fa973b70b7469bb1f256a1f38 (patch)
tree6b529a235256338800e41479e822556760b1d3b1 /tdeio
parent080c061b15cfcb11e26a2ede1c8082afb0c5d329 (diff)
downloadtdelibs-158b6e1152413e4fa973b70b7469bb1f256a1f38.tar.gz
tdelibs-158b6e1152413e4fa973b70b7469bb1f256a1f38.zip
Use private linking for exported CMake targets.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'tdeio')
-rw-r--r--tdeio/CMakeLists.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/tdeio/CMakeLists.txt b/tdeio/CMakeLists.txt
index 103a67fb7..2a8fc7f3a 100644
--- a/tdeio/CMakeLists.txt
+++ b/tdeio/CMakeLists.txt
@@ -94,6 +94,7 @@ tde_add_library( ${target} SHARED
SOURCES ${CMAKE_CURRENT_BINARY_DIR}/dummy.cpp
VERSION 14.0.0
EMBED kssl-static tdeiocore-static tdesycoca-static kbookmarks-static tdefile-static ${ELFICON_STATIC_LIB}
- LINK ltdlc-static tdeui-shared tdesu-shared tdewalletclient-shared ${LIBR_LIBRARIES} ${ACL_LIBRARIES}
+ LINK tdeui-shared tdewalletclient-shared
+ LINK_PRIVATE ltdlc-static tdesu-shared ${LIBR_LIBRARIES} ${ACL_LIBRARIES}
DESTINATION ${LIB_INSTALL_DIR}
)