Skip to content

Commit

Permalink
CommonImageFilters ITK >= 5.1 fix
Browse files Browse the repository at this point in the history
  • Loading branch information
codeling committed Dec 30, 2019
1 parent 2168447 commit 202dfdb
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions modules/CommonImageFilters/iASmoothing.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,16 @@
#include <itkRecursiveGaussianImageFilter.h>
#ifndef ITKNOGPU
#define CL_TARGET_OPENCL_VERSION 220
#include <itkConfigure.h> // for ITK_VERSION...
#include <itkGPUImage.h>
#include <itkGPUKernelManager.h>
#include <itkGPUContextManager.h>
#include <itkGPUImageToImageFilter.h>
#include <itkGPUGradientAnisotropicDiffusionImageFilter.h>
#if ITK_VERSION_MAJOR > 5 || (ITK_VERSION_MAJOR == 5 && ITK_VERSION_MINOR >= 1)
// split into a separate file starting with ITK 5.1 (previously included in itkGPUGradientAnisotropicDiffusionImageFilter.h)
#include <itkGPUGradientAnisotropicDiffusionImageFilterFactory.h>
#endif
#endif


Expand Down

0 comments on commit 202dfdb

Please sign in to comment.