SHA256
1
0
forked from pool/krita
krita/0001-TIFF-fix-missing-SOVERSION-for-the-TIFF-PSD-library.patch

28 lines
959 B
Diff

From 6734e02fa93d3cb3d4a162bc707649f7d3172386 Mon Sep 17 00:00:00 2001
From: "L. E. Segovia" <amy@amyspark.me>
Date: Fri, 26 Aug 2022 11:23:17 -0300
Subject: [PATCH] TIFF: fix missing SOVERSION for the TIFF PSD library
---
plugins/impex/tiff/CMakeLists.txt | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/plugins/impex/tiff/CMakeLists.txt b/plugins/impex/tiff/CMakeLists.txt
index bc392c3750..7cffc5da5c 100644
--- a/plugins/impex/tiff/CMakeLists.txt
+++ b/plugins/impex/tiff/CMakeLists.txt
@@ -9,6 +9,10 @@ if (TIFF_HAS_PSD_TAGS)
kis_add_library(kritatiffpsd SHARED ${libkritatiffpsd_SRCS})
generate_export_header(kritatiffpsd)
+ set_target_properties(kritatiffpsd PROPERTIES
+ VERSION ${GENERIC_KRITA_LIB_VERSION} SOVERSION ${GENERIC_KRITA_LIB_SOVERSION}
+ )
+
target_link_libraries(kritatiffpsd kritapsd ${TIFF_LIBRARIES})
install(TARGETS kritatiffpsd DESTINATION ${INSTALL_TARGETS_DEFAULT_ARGS})
--
2.37.2