From: tbaudier Date: Mon, 11 Jul 2016 13:12:58 +0000 (+0200) Subject: Ensure compatibility with VTK5 X-Git-Tag: v1.4.0~12 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=08d4c780faca504a0171259433dd37d3cd3df38b;p=clitk.git Ensure compatibility with VTK5 --- 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"