diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2020-06-12 03:56:33 +0200 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2021-02-03 22:22:23 +0100 |
commit | d37bb843d18966a1b2f38e49363dc9f8ebbaed43 (patch) | |
tree | fa898c1ef6d95e72c868f6f517829ce149323b69 /kdesu | |
parent | d336392f8fd8d954754cd3e53b7e119a1f3f351b (diff) | |
download | tdelibs-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 'kdesu')
-rw-r--r-- | kdesu/CMakeLists.txt | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/kdesu/CMakeLists.txt b/kdesu/CMakeLists.txt index c032d8a48..67afb980d 100644 --- a/kdesu/CMakeLists.txt +++ b/kdesu/CMakeLists.txt @@ -42,7 +42,8 @@ set( ${target}_SRCS tde_add_library( ${target} SHARED SOURCES ${${target}_SRCS} VERSION 4.2.0 - LINK kdecore-shared ${LIB_UTIL} + LINK kdecore-shared + LINK_PRIVATE ${LIB_UTIL} DESTINATION ${LIB_INSTALL_DIR} ) |