summaryrefslogtreecommitdiffstats
path: root/kjs
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>2021-02-03 22:22:23 +0100
commitd37bb843d18966a1b2f38e49363dc9f8ebbaed43 (patch)
treefa898c1ef6d95e72c868f6f517829ce149323b69 /kjs
parentd336392f8fd8d954754cd3e53b7e119a1f3f351b (diff)
downloadtdelibs-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 'kjs')
-rw-r--r--kjs/CMakeLists.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/kjs/CMakeLists.txt b/kjs/CMakeLists.txt
index e32c6a5ba..8b2024191 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 kdecore-shared ${LIBPCRE_LIBRARIES}
+ LINK kdecore-shared
+ LINK_PRIVATE ${LIBPCRE_LIBRARIES}
DESTINATION ${LIB_INSTALL_DIR}
)