summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2022-11-06 00:32:37 +0100
committerSlávek Banko <slavek.banko@axis.cz>2022-11-06 00:32:38 +0100
commit06a3b75538c36b4b42a226e263080fbbf0fd4531 (patch)
tree5aeb2b40095d12e34370567061d1934b2ee24208
parent02670b9418632d6d5c7143a6336d03fb4a05999e (diff)
downloadtdelibs-06a3b75538c36b4b42a226e263080fbbf0fd4531.tar.gz
tdelibs-06a3b75538c36b4b42a226e263080fbbf0fd4531.zip
tdehtml: Move link to JPEG_LIBRARIES where it is really used.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
-rw-r--r--tdehtml/CMakeLists.txt2
-rw-r--r--tdehtml/misc/CMakeLists.txt1
2 files changed, 2 insertions, 1 deletions
diff --git a/tdehtml/CMakeLists.txt b/tdehtml/CMakeLists.txt
index 187eff352..624612d55 100644
--- a/tdehtml/CMakeLists.txt
+++ b/tdehtml/CMakeLists.txt
@@ -93,7 +93,7 @@ tde_add_library( ${target} SHARED AUTOMOC
LINK ${VSCRIPT} kjava-static kjs_html-static tdehtmldom-static tdehtmlcss-static
tdehtmlhtml-static tdehtmlxml-static tdehtmlrender-static tdehtmlmisc-static
tdeutils-shared tdeprint-shared
- LINK_PRIVATE kjs-shared ${JPEG_LIBRARIES}
+ LINK_PRIVATE kjs-shared
DESTINATION ${LIB_INSTALL_DIR}
)
diff --git a/tdehtml/misc/CMakeLists.txt b/tdehtml/misc/CMakeLists.txt
index 0babd6567..fbef060b7 100644
--- a/tdehtml/misc/CMakeLists.txt
+++ b/tdehtml/misc/CMakeLists.txt
@@ -38,4 +38,5 @@ set( ${target}_SRCS
tde_add_library( ${target} STATIC_PIC AUTOMOC
SOURCES ${${target}_SRCS}
+ LINK ${JPEG_LIBRARIES}
)