add_oiv_executable(simpleVolumeAxis
simpleVolumeAxis.cxx
)

if (OIV_ENABLE_RUNTESTS)
  # it takes usually 35s the first time to build the cache.
  # but then it will take 2s
  set_tests_properties(RUN_simpleVolumeAxis PROPERTIES TIMEOUT 40)
endif()

if(APPLE)
  target_link_libraries(simpleVolumeAxis ${DialogVizQt_LIBRARIES} ${MeshViz_LIBRARIES})
else()
  target_link_libraries(simpleVolumeAxis ${DialogViz_LIBRARIES} ${MeshViz_LIBRARIES})
endif()
