From: Simon Rit Date: Tue, 3 Jul 2012 07:27:14 +0000 (+0200) Subject: Missing test on VTK version for vtkMapper X-Git-Tag: v1.3.0~23 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=5f43fcf7f5ebdc4d93a8547190b824cf45ea1255;p=clitk.git Missing test on VTK version for vtkMapper --- diff --git a/vv/vvSlicer.cxx b/vv/vvSlicer.cxx index a3712a0..1e133d6 100644 --- a/vv/vvSlicer.cxx +++ b/vv/vvSlicer.cxx @@ -66,7 +66,9 @@ #include #include #include -#include +#if VTK_MAJOR_VERSION >= 6 || (VTK_MAJOR_VERSION >= 5 && VTK_MINOR_VERSION >= 10) +# include +#endif vtkCxxRevisionMacro(vvSlicer, "DummyRevision"); vtkStandardNewMacro(vvSlicer);