Skip to content

Commit b50700e

Browse files
committed
build(dicom): use ITK-Wasm's ITK
1 parent 38ff587 commit b50700e

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

packages/dicom/dcmtk/CMakeLists.txt

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,10 +204,18 @@ foreach(seg_size ${TEST_SEG_SIZES})
204204
endforeach()
205205

206206
# Plastimatch
207+
find_package(ITK REQUIRED
208+
COMPONENTS
209+
ITKDCMTK
210+
ITKImageIntensity
211+
ITKDistanceMap
212+
ITKRegistrationCommon
213+
WebAssemblyInterface
214+
)
207215
# set(PLM_GIT_REPOSITORY "https://github.com/InsightSoftwareConsortium/plastimatch")
208216
# set(PLM_GIT_TAG "5036f97b213d37a0a07dd232c827fb5f35049ae4")
209217
# set(PLM_GIT_REPOSITORY "/home/matt/src/plastimatch")
210-
set(PLM_GIT_REPOSITORY "git@github.com:thewtex/plastimatch")
218+
set(PLM_GIT_REPOSITORY "https://github.com/thewtex/plastimatch")
211219
set(PLM_GIT_TAG "origin/itk-wasm")
212220
set(PLM_CONFIG_ENABLE_DCMTK ON)
213221
set(PLM_CONFIG_ENABLE_OPENMP OFF)
@@ -223,6 +231,7 @@ set(PLM_CONFIG_ENABLE_REGISTER OFF)
223231
set(PLM_CONFIG_ENABLE_SEGMENT OFF)
224232
set(PLM_CONFIG_ENABLE_STANDALONE OFF)
225233
set(PLM_CONFIG_ENABLE_TEST OFF)
234+
set(PLM_SYSTEM_ITK ON)
226235
set(PLM_BUILD_TESTING OFF)
227236
set(DCMTK_DIR ${ITK_DIR}/Modules/ThirdParty/DCMTK/ITKDCMTK_ExtProject-build)
228237
FetchContent_Declare(

0 commit comments

Comments
 (0)