Skip to content

Commit ac7da94

Browse files
waruqiapocelipes
andauthored
Auto-update gdcm to v3.2.10 (#10464)
* Update gdcm to v3.2.10 * fix build --------- Co-authored-by: apocelipes <seve3r@outlook.com>
1 parent 22279c6 commit ac7da94

2 files changed

Lines changed: 14 additions & 1 deletion

File tree

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
diff --git a/Source/InformationObjectDefinition/CMakeLists.txt b/Source/InformationObjectDefinition/CMakeLists.txt
2+
--- a/Source/InformationObjectDefinition/CMakeLists.txt
3+
+++ b/Source/InformationObjectDefinition/CMakeLists.txt
4+
@@ -47,6 +47,7 @@ endif()
5+
add_library(gdcmIOD ${IOD_SRCS})
6+
target_link_libraries(gdcmIOD LINK_PUBLIC gdcmDSED gdcmCommon)
7+
target_link_libraries(gdcmIOD LINK_PRIVATE ${GDCM_EXPAT_LIBRARIES})
8+
+target_include_directories(gdcmIOD PRIVATE ${EXPAT_INCLUDE_DIRS})
9+
set_target_properties(gdcmIOD PROPERTIES ${GDCM_LIBRARY_PROPERTIES})
10+
11+
# libs

packages/g/gdcm/xmake.lua

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,13 @@ package("gdcm")
55

66
add_urls("https://github.com/malaterre/GDCM/archive/refs/tags/$(version).tar.gz",
77
"https://github.com/malaterre/GDCM.git")
8+
add_versions("v3.2.10", "94549490048ef7125e8af35569c20e8106b96c3d955178135dc75be561a14b76")
89
add_versions("v3.2.7", "b7b17b70c009677cf244cc7837b88386441e097f8861fdeee83aa27d1bc1b090")
910
add_versions("v3.2.5", "1763d94228ef31babe68a2b5f3b0d4fc66bc0afae641d9a4c38ea5269e06ba5d")
1011
add_versions("v3.2.1", "63d4fbbb487d450bc8004542892a45349bdc9f4400f7010c07170c127ef0f9e3")
1112
add_versions("v3.0.24", "d88519a094797c645ca34797a24a14efc10965829c4c3352c8ef33782a556336")
1213
add_patches(">3.0", "patches/cmake.patch", "2583f0f0beb829f7c67bc2ee56f1d976245153aa006973f89e5bc42e659afea6")
14+
add_patches(">=3.2.10", "patches/expat.patch", "a24e45f269fbfb494289f33878af88d278ed3880694db08a9197b67a0821edaa")
1315

1416
add_deps("cmake", "charls", "expat", "openjpeg", "pkgconf", "zlib")
1517

@@ -75,4 +77,4 @@ package("gdcm")
7577
gdcm::UIDGenerator uid;
7678
}
7779
]]}, {configs = {languages = "c++11"}}))
78-
end)
80+
end)

0 commit comments

Comments
 (0)