
IF(MINGW)
  ADD_EXECUTABLE(odometryViewer WIN32 main.cpp)
ELSE()
  ADD_EXECUTABLE(odometryViewer main.cpp)
ENDIF()
TARGET_LINK_LIBRARIES(odometryViewer rtabmap_gui)

SET_TARGET_PROPERTIES( odometryViewer 
  PROPERTIES OUTPUT_NAME ${PROJECT_PREFIX}-odometryViewer)
  
INSTALL(TARGETS odometryViewer
		RUNTIME DESTINATION "${CMAKE_INSTALL_BINDIR}" COMPONENT runtime
		BUNDLE DESTINATION "${CMAKE_BUNDLE_LOCATION}" COMPONENT runtime)

