summaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2025-01-13 11:16:03 +0100
committerSlávek Banko <slavek.banko@axis.cz>2025-01-13 16:59:44 +0100
commitf5b49a52fc61ed1c745dcb77e3024ee4024642db (patch)
tree7d3cfce76252292b2594a9fdfcb050dbe328d2b6 /kernel
parent906c59e625cac661b96b901630110a36dcda8192 (diff)
downloadlibksquirrel-r14.1.4.tar.gz
libksquirrel-r14.1.4.zip
Prefer to use pkg-config to detect tiff library.r14.1.5r14.1.4
This solves FTBFS with tiff library >= 4.7.0. Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit 57eef5d4f29934eed4d01f830dcfa0707a067f0e)
Diffstat (limited to 'kernel')
-rw-r--r--kernel/kls_tiff/CMakeLists.txt5
1 files changed, 4 insertions, 1 deletions
diff --git a/kernel/kls_tiff/CMakeLists.txt b/kernel/kls_tiff/CMakeLists.txt
index 855092e..85b2501 100644
--- a/kernel/kls_tiff/CMakeLists.txt
+++ b/kernel/kls_tiff/CMakeLists.txt
@@ -4,6 +4,9 @@ include_directories(
${CMAKE_BINARY_DIR}
)
+link_directories(
+ ${TIFF_LIBRARY_DIRS}
+)
add_definitions(
-DTIFF_UI="${SHARE_INSTALL_PREFIX}/ksquirrel-libs/libkls_tiff.so.ui"
@@ -14,7 +17,7 @@ add_definitions(
tde_add_library( kls_tiff SHARED AUTOMOC
SOURCES fmt_codec_tiff.cpp
- LINK ksquirrel-libs-shared ${TIFF_LIBRARY}
+ LINK ksquirrel-libs-shared ${TIFF_LIBRARIES}
VERSION 0.8.0
DESTINATION ${LIB_INSTALL_DIR}/ksquirrel-libs
)