From: delmon Date: Tue, 12 Apr 2011 08:32:06 +0000 (+0000) Subject: Protect vtkMPEG2Writer.h which is not anymore in vtk's includes if vtk is not X-Git-Tag: v1.2.0~53 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=1138b412c0e0f073f74044c4e6b3490318e24072;p=clitk.git Protect vtkMPEG2Writer.h which is not anymore in vtk's includes if vtk is not compile with VTK_USE_MPEG2_ENCODER. --- diff --git a/vv/vvMainWindow.cxx b/vv/vvMainWindow.cxx index 7a95ae6..06e42e8 100644 --- a/vv/vvMainWindow.cxx +++ b/vv/vvMainWindow.cxx @@ -66,7 +66,9 @@ #include #include #include -#include +#ifdef VTK_USE_MPEG2_ENCODER + #include +#endif #include #include