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> | 2020-06-12 15:30:03 +0200 |
commit | fc2c3c9ca027cbccbd47866704f6e3469161a9b3 (patch) | |
tree | c6607662929e0a6fa808912fe66a48d81b6c7b26 /libtdemid/CMakeLists.txt | |
parent | 412f55e671929ff8b9db41d6c3372306b05679e7 (diff) | |
download | tdelibs-fc2c3c9ca027cbccbd47866704f6e3469161a9b3.tar.gz tdelibs-fc2c3c9ca027cbccbd47866704f6e3469161a9b3.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 'libtdemid/CMakeLists.txt')
-rw-r--r-- | libtdemid/CMakeLists.txt | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libtdemid/CMakeLists.txt b/libtdemid/CMakeLists.txt index f1fb5c7e3..21338aac1 100644 --- a/libtdemid/CMakeLists.txt +++ b/libtdemid/CMakeLists.txt @@ -46,6 +46,7 @@ set( ${target}_SRCS tde_add_library( ${target} SHARED SOURCES ${${target}_SRCS} VERSION 0.0.95 - LINK tdecore-shared ${ALSA_LIBRARIES} + LINK tdecore-shared + LINK_PRIVATE ${ALSA_LIBRARIES} DESTINATION ${LIB_INSTALL_DIR} ) |