]> Creatis software - clitk.git/blobdiff - vv/vvMainWindow.cxx
Protect vtkMPEG2Writer.h which is not anymore in vtk's includes if vtk is not
[clitk.git] / vv / vvMainWindow.cxx
index 7a95ae68d80084e1fd4c6ceaa06bb7717dd916bc..06e42e8dea6276a6131a20594b14e9fc89f7bd47 100644 (file)
@@ -66,7 +66,9 @@
 #include <vtkPNGWriter.h>
 #include <vtkJPEGWriter.h>
 #include <vtkFFMPEGWriter.h>
-#include <vtkMPEG2Writer.h>
+#ifdef VTK_USE_MPEG2_ENCODER
+  #include <vtkMPEG2Writer.h>
+#endif
 #include <vtkMatrix4x4.h>
 #include <vtkTransform.h>