Commit 6223cc1f authored by Marcus D. Hanwell's avatar Marcus D. Hanwell
Browse files

BUG: Only build GraphItem if views is enabled.

parent 89067b18
......@@ -8,8 +8,10 @@ ENDIF(NOT VTK_USE_CHARTS)
INCLUDE(${VTK_USE_FILE})
ENDIF(NOT VTK_BINARY_DIR)
ADD_EXECUTABLE(GraphItem GraphItem.cxx vtkGraphItem.cxx)
TARGET_LINK_LIBRARIES(GraphItem vtkCharts)
IF(VTK_USE_VIEWS)
ADD_EXECUTABLE(GraphItem GraphItem.cxx vtkGraphItem.cxx)
TARGET_LINK_LIBRARIES(GraphItem vtkCharts)
ENDIF(VTK_USE_VIEWS)
IF(VTK_USE_QVTK)
FIND_PACKAGE(Qt4 REQUIRED)
......
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