File tree Expand file tree Collapse file tree 2 files changed +30
-6
lines changed Expand file tree Collapse file tree 2 files changed +30
-6
lines changed Original file line number Diff line number Diff line change @@ -5,6 +5,30 @@ find_package(ITK REQUIRED
5
5
)
6
6
include (${ITK_USE_FILE} )
7
7
8
+ if (POLICY CMP0077 )
9
+ set (CMAKE_POLICY_DEFAULT_CMP0077 NEW )
10
+ endif ()
11
+
12
+ include (FetchContent )
13
+ # DCMQI
14
+ set (DCMQI_GIT_REPOSITORY "https://github.com/jadh4v/dcmqi.git" )
15
+ set (DCMQI_GIT_TAG "0938c3341b7b259657aff4485e9178b95385afb7" )
16
+ set (DCMQI_SUPERBUILD OFF )
17
+ set (DCMQI_BUILD_SLICER_EXTENSION OFF )
18
+ set (DCMQI_BUILD_APPS OFF )
19
+ set (DCMQI_BUILD_DOC OFF )
20
+ set (BUILD_TESTING OFF )
21
+ set (DCMTK_DIR ${ITK_DIR} /Modules/ThirdParty/DCMTK/ITKDCMTK_ExtProject-build )
22
+ FetchContent_Declare (
23
+ dcmqi_lib
24
+ GIT_REPOSITORY ${DCMQI_GIT_REPOSITORY}
25
+ GIT_TAG ${DCMQI_GIT_TAG}
26
+ )
27
+
28
+ FetchContent_MakeAvailable (dcmqi_lib )
29
+
30
+ set (DCMQI_INCLUDE_DIR "${dcmqi_lib_SOURCE_DIR} /include" )
31
+
8
32
add_executable (structured-report-to-text structured-report-to-text.cxx )
9
33
target_link_libraries (structured-report-to-text PUBLIC ${ITK_LIBRARIES} )
10
34
Original file line number Diff line number Diff line change @@ -33,19 +33,19 @@ RUN curl -L https://github.com/api/repos/facebook/zstd/tarball/${zstd_GIT_TAG} |
33
33
cd .. && \
34
34
rm -rf zstd-build zstd
35
35
36
- # tag commit date: 2024-08-01
37
- ENV ITK_GIT_TAG 31b51f299ac12f9e4d56a18e6020127f359cb426
38
- ENV ITK_GIT_BRANCH itkwasm-2024-05-20-5db055d7ad3b-1
39
- RUN git clone --branch $ITK_GIT_BRANCH --single-branch --depth 1 https://github.com/KitwareMedical /ITK.git && \
36
+ # tag commit date: 2024-08-13
37
+ ENV ITK_GIT_TAG 75cc495bc86c404c57ed44b4cb3858cdde120425
38
+ ENV ITK_GIT_BRANCH itkwasm-2024-06-06
39
+ RUN git clone --branch $ITK_GIT_BRANCH --single-branch --depth 1 https://github.com/jadh4v /ITK.git && \
40
40
sed -i -e '/^option(OPJ_USE_THREAD/c\o ption(OPJ_USE_THREAD "use threads" OFF)' \
41
41
/ITK/Modules/ThirdParty/GDCM/src/gdcm/Utilities/gdcmopenjpeg/src/lib/openjp2/CMakeLists.txt
42
42
43
43
# Modify CMake variable to use patched DCMTK library
44
44
# GIT_TAG refers to DCMTK branch: 20240311_DCMTK_PATCHES_FOR_ITK-wasm
45
- RUN sed -i -e '/^set(DCMTK_GIT_REPOSITORY/c\s et(DCMTK_GIT_REPOSITORY "https://github.com/InsightSoftwareConsortium /DCMTK.git")' \
45
+ RUN sed -i -e '/^set(DCMTK_GIT_REPOSITORY/c\s et(DCMTK_GIT_REPOSITORY "https://github.com/jadh4v /DCMTK.git")' \
46
46
/ITK/Modules/ThirdParty/DCMTK/DCMTKGitTag.cmake
47
47
48
- RUN sed -i -e '/^set(DCMTK_GIT_TAG/c\s et(DCMTK_GIT_TAG "fe7cff5de40b67ae0490d476ddf17689c06bcaf4 ")' \
48
+ RUN sed -i -e '/^set(DCMTK_GIT_TAG/c\s et(DCMTK_GIT_TAG "e356f2929f84567603e39a3191d2ad5159adb703 ")' \
49
49
/ITK/Modules/ThirdParty/DCMTK/DCMTKGitTag.cmake
50
50
51
51
RUN if test -e $WASI_SDK_PATH/share/cmake/wasi-sdk.cmake; then sed -i '/cmake_minimum_required/d' $WASI_SDK_PATH/share/cmake/wasi-sdk.cmake; fi
You can’t perform that action at this time.
0 commit comments