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:26:59 +0200 |
commit | 158b6e1152413e4fa973b70b7469bb1f256a1f38 (patch) | |
tree | 6b529a235256338800e41479e822556760b1d3b1 /kjs | |
parent | 080c061b15cfcb11e26a2ede1c8082afb0c5d329 (diff) | |
download | tdelibs-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 'kjs')
-rw-r--r-- | kjs/CMakeLists.txt | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/kjs/CMakeLists.txt b/kjs/CMakeLists.txt index e8530ea58..8e9b16849 100644 --- a/kjs/CMakeLists.txt +++ b/kjs/CMakeLists.txt @@ -61,6 +61,7 @@ tde_add_lut( keywords.table lexer.lut.h lexer.cpp ) tde_add_library( ${target} SHARED SOURCES ${${target}_SRCS} VERSION 1.2.0 - LINK tdecore-shared ${LIBPCRE_LIBRARIES} + LINK tdecore-shared + LINK_PRIVATE ${LIBPCRE_LIBRARIES} DESTINATION ${LIB_INSTALL_DIR} ) |