project(MeshVizExamples)


set(OIV_MODULE MeshViz)

link_libraries( "${OpenInventorGui_LIBRARIES}" )
link_libraries( "${ScaleViz_LIBRARIES}" )
link_libraries( "${MeshViz_LIBRARIES}" )
link_libraries( "${HardCopy_LIBRARIES}" )

if(APPLE)
  link_libraries( ${${PROJECT_NAME}_LIBRARIES}
		${OpenInventorQt_LIBRARIES}
		${DialogVizQt_LIBRARIES}
		Qt::Core
		Qt::Gui
		Qt::OpenGL
		Qt::Widgets
	)
else()
  link_libraries( "${DialogViz_LIBRARIES}" )
  link_libraries( "${OpenInventorXt_LIBRARIES}" )
endif()

if(NOT WIN32 AND NOT APPLE)
 link_libraries( Xm )
 link_libraries( Xt )
endif()

add_subdirectory(3Ddata)
add_subdirectory(graph)
add_subdirectory(Mentor)
