X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;ds=inline;f=common%2FclitkIO.cxx;h=1d8a57afe90c0653b90309ab3db161a707fdd0ab;hb=bf825658276640209b8eb9c3e237e49e50b93579;hp=edc10f29952a468e0f3c3bcc741ac3ef012348f9;hpb=c31bc376d3b6de4e9704931b4c6d01adde426320;p=clitk.git diff --git a/common/clitkIO.cxx b/common/clitkIO.cxx index edc10f2..1d8a57a 100755 --- a/common/clitkIO.cxx +++ b/common/clitkIO.cxx @@ -38,7 +38,9 @@ void clitk::RegisterClitkFactories() { clitk::DicomRTDoseIOFactory::RegisterOneFactory(); +#if ITK_VERSION_MAJOR <= 3 itk::ImageIOFactory::RegisterBuiltInFactories(); +#endif clitk::VoxImageIOFactory::RegisterOneFactory(); clitk::VfImageIOFactory::RegisterOneFactory(); clitk::HisImageIOFactory::RegisterOneFactory();