There is a bad dependency: Core/ImageFunction/include/itkBSplineResampleImageFunction.h includes Filtering/ImageGrid/include/"itkBSplineInterpolateImageFunction yet Core/ImageFunction/itk-module.cmake does not list the dependency.