Commit 84178605 authored by François Bertel's avatar François Bertel
Browse files

COMP:Fixed error on Mac with VTK_USE_TDX ON.

parent 591595a3
......@@ -7,7 +7,7 @@ SET ( QVTKLibSrcs
QVTKWidget.cxx
)
IF(VTK_USE_TDX)
IF(VTK_USE_X AND VTK_USE_TDX)
SET ( QVTKLibSrcs ${QVTKLibSrcs}
vtkTDxQtUnixDevices.cxx
)
......@@ -20,7 +20,7 @@ SET ( QVTKMocHeaders
vtkQtConnection.h
)
IF(VTK_USE_TDX)
IF(VTK_USE_X AND VTK_USE_TDX)
SET ( QVTKMocHeaders ${QVTKMocHeaders}
vtkTDxQtUnixDevices.h
)
......
......@@ -46,6 +46,9 @@ class vtkRenderWindow;
class vtkImageData;
#include "vtkTDxConfigure.h" // defines VTK_USE_TDX
#ifdef VTK_USE_TDX
class vtkTDxDevice;
#endif
#if defined(Q_WS_MAC)
# if defined(QT_MAC_USE_COCOA) && defined(VTK_USE_COCOA)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment