[exiv2] Fix expat dep in xmpsdk (#40586)

This commit is contained in:
Kai Pastor 2024-08-23 11:06:32 +02:00 committed by GitHub
parent f0385ee586
commit 448485b7aa
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 19 additions and 1 deletions

View File

@ -55,3 +55,15 @@ index b0897c3..e559666 100644
message ( "-- inih_INCLUDE_DIRS : " ${inih_INCLUDE_DIRS} )
message ( "-- inih_LIBRARIES : " ${inih_LIBRARIES} )
message ( "-- inih_inireader_INCLUDE_DIRS : " ${inih_inireader_INCLUDE_DIRS} )
diff --git a/xmpsdk/CMakeLists.txt b/xmpsdk/CMakeLists.txt
index 87c59c0..d2f23e6 100644
--- a/xmpsdk/CMakeLists.txt
+++ b/xmpsdk/CMakeLists.txt
@@ -31,6 +31,7 @@ target_include_directories(exiv2-xmp SYSTEM
${PROJECT_SOURCE_DIR}/xmpsdk/include
${EXPAT_INCLUDE_DIRS}
)
+target_link_libraries(exiv2-xmp PRIVATE expat::expat)
# Prevent a denial-service-attack related to XML entity expansion
# ("billion laughs attack").

View File

@ -1,6 +1,7 @@
{
"name": "exiv2",
"version": "0.28.3",
"port-version": 1,
"description": "Image metadata library and tools",
"homepage": "https://exiv2.org",
"license": "GPL-2.0-or-later",

View File

@ -2582,7 +2582,7 @@
},
"exiv2": {
"baseline": "0.28.3",
"port-version": 0
"port-version": 1
},
"expat": {
"baseline": "2.6.2",

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "94c950d5e7bfffa984940dbbd278984f68181ab6",
"version": "0.28.3",
"port-version": 1
},
{
"git-tree": "de2ac0ef00a055d813578d9bc93e25f05decf5df",
"version": "0.28.3",