From 08d4c780faca504a0171259433dd37d3cd3df38b Mon Sep 17 00:00:00 2001 From: tbaudier Date: Mon, 11 Jul 2016 15:12:58 +0200 Subject: [PATCH] Ensure compatibility with VTK5 --- vv/vv.cxx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/vv/vv.cxx b/vv/vv.cxx index ef7764d..c0ad009 100644 --- a/vv/vv.cxx +++ b/vv/vv.cxx @@ -28,11 +28,13 @@ #include #include +#if VTK_MAJOR_VERSION > 5 #include VTK_MODULE_INIT(vtkInteractionStyle); VTK_MODULE_INIT(vtkRenderingOpenGL); VTK_MODULE_INIT(vtkRenderingFreeType); #define vtkRenderingContext2D_AUTOINIT 1(vtkRenderingContextOpenGL) +#endif #include "clitkIO.h" -- 2.47.1