Skip to content

Commit

Permalink
ENH: Enable additional DCMTK modules
Browse files Browse the repository at this point in the history
For DICOM SEG, parametric maps.
  • Loading branch information
thewtex committed Aug 16, 2024
1 parent af3cea7 commit 1868b1d
Showing 1 changed file with 7 additions and 12 deletions.
19 changes: 7 additions & 12 deletions Modules/ThirdParty/DCMTK/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -78,20 +78,15 @@ else(DCMTK_USE_ICU)
)
endif()

if(APPLE)
# Character set conversion creates linking errors on MacOS. We disable
# `iconv` which is likely going to be found on the system by DCMTK, and
# that is going to create linking errors.
list(APPEND
CHARSET_CONVERSION_ARGS
-DDCMTK_WITH_ICONV:BOOL=OFF
)
endif()
set(_ITKDCMTK_LIB_NAMES dcmdata dcmpstat dcmsr dcmqrdb dcmimgle
dcmimage dcmjpeg dcmjpls dcmnet
dcmwlm dcmrt dcmiod dcmfg
dcmseg dcmpmap ijg12 ijg16 ijg8 oflog ofstd oficonv)

#set(_ITKDCMTK_LIB_NAMES dcmdata dcmimage dcmimgle dcmjpeg dcmjpls
#dcmnet dcmpstat dcmqrdb dcmsr dcmtls ijg12 ijg16 ijg8 oflog ofstd oficonv)
# Enable minimal DCMTK libs for wasm
set(_ITKDCMTK_LIB_NAMES dcmdata dcmpstat dcmsr dcmimage dcmimgle dcmnet dcmqrdb dcmiod oflog ofstd oficonv)
set(_ITKDCMTK_LIB_NAMES dcmdata dcmpstat dcmsr dcmqrdb dcmimgle
dcmimage dcmnet dcmiod dcmfg
dcmseg dcmpmap ofstd oflog oficonv )
if(WIN32)
set(ITKDCMTK_LIBDEP_WIN iphlpapi ws2_32 netapi32 wsock32)
endif()
Expand Down

0 comments on commit 1868b1d

Please sign in to comment.