]> Creatis software - clitk.git/blobdiff - tools/clitkGateSimulation2DicomGenericFilter.txx
Update to enable GDCMv3
[clitk.git] / tools / clitkGateSimulation2DicomGenericFilter.txx
index fe849b38ad9253f9532738304445c1a21ed77ef2..9ad2857f90bd8bb263463b47b932f33cabaaed93 100644 (file)
@@ -134,7 +134,7 @@ void
 GateSimulation2DicomGenericFilter<args_info_type>::UpdateWithDimAndPixelType()
 {
 
-#if GDCM_MAJOR_VERSION == 2
+#if GDCM_MAJOR_VERSION >= 2
   // ImageTypes
   typedef itk::Image<PixelType, Dimension> InputImageType;
   typedef itk::Image<PixelType, Dimension> OutputImageType;