diff options
author | Slávek Banko <[email protected]> | 2020-06-12 03:56:33 +0200 |
---|---|---|
committer | Slávek Banko <[email protected]> | 2020-06-12 15:30:03 +0200 |
commit | fc2c3c9ca027cbccbd47866704f6e3469161a9b3 (patch) | |
tree | c6607662929e0a6fa808912fe66a48d81b6c7b26 /tdecore | |
parent | 412f55e671929ff8b9db41d6c3372306b05679e7 (diff) | |
download | tdelibs-fc2c3c9ca027cbccbd47866704f6e3469161a9b3.tar.gz tdelibs-fc2c3c9ca027cbccbd47866704f6e3469161a9b3.zip |
Use private linking for exported CMake targets.
Signed-off-by: Slávek Banko <[email protected]>
(cherry picked from commit 158b6e1152413e4fa973b70b7469bb1f256a1f38)
Diffstat (limited to 'tdecore')
-rw-r--r-- | tdecore/CMakeLists.txt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tdecore/CMakeLists.txt b/tdecore/CMakeLists.txt index c96f5c905..2b2d88f01 100644 --- a/tdecore/CMakeLists.txt +++ b/tdecore/CMakeLists.txt @@ -141,9 +141,9 @@ tde_add_library( ${target} SHARED AUTOMOC SOURCES ${${target}_SRCS} VERSION 14.0.0 EMBED tdecorenetwork-static ${TDEHW_LIB} - LINK ltdlc-static ${KDESVGICONS} DCOP-shared tdefx-shared ${ZLIB_LIBRARIES} - ${LIBIDN_LIBRARIES} ${XCOMPOSITE_LIBRARIES} ICE SM ${GAMIN_LIBRARIES} - ${LIBBFD_LIBRARIES} ${LIB_UTIL} + LINK DCOP-shared tdefx-shared ICE SM ${ZLIB_LIBRARIES} + LINK_PRIVATE ltdlc-static ${KDESVGICONS} ${XCOMPOSITE_LIBRARIES} + ${LIBIDN_LIBRARIES} ${LIBBFD_LIBRARIES} ${LIB_UTIL} ${GAMIN_LIBRARIES} DESTINATION ${LIB_INSTALL_DIR} ) |