SET(SimTKSIMBODY_AUX_LIBRARY_NAME SimTKsimbody_aux) SET(SimTKSIMBODY_AUX_SHARED_LIBRARY ${SimTKSIMBODY_AUX_LIBRARY_NAME}) SET(SimTKSIMBODY_AUX_STATIC_LIBRARY ${SimTKSIMBODY_AUX_LIBRARY_NAME}_static) ## Find VTK SET(VTK_DIR ${SimTK_SDK}/core/lib/vtk-5.0 CACHE PATH "VTK installation") FIND_PACKAGE(VTK) IF (VTK_FOUND) INCLUDE(${VTK_USE_FILE}) ELSE(VTK_FOUND) MESSAGE(FATAL_ERROR "Cannot build without VTK. Please set VTK_DIR.") ENDIF (VTK_FOUND) LINK_LIBRARIES( vtkHybrid vtkFiltering vtkGenericFiltering vtkVolumeRendering vtkRendering vtkIO vtkGraphics vtkCommon ) ADD_SUBDIRECTORY(tests) ADD_SUBDIRECTORY(examples)