CMakeLists.txt 785 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. cmake_minimum_required(VERSION 2.8.3)
  2. project(calibration_publisher)
  3. find_package(autoware_build_flags REQUIRED)
  4. find_package(catkin REQUIRED COMPONENTS
  5. autoware_msgs
  6. cv_bridge
  7. image_transport
  8. roscpp
  9. sensor_msgs
  10. std_msgs
  11. tf
  12. )
  13. find_package(OpenCV REQUIRED)
  14. catkin_package()
  15. include_directories(
  16. ${catkin_INCLUDE_DIRS}
  17. ${OpenCV_INCLUDE_DIRS}
  18. )
  19. add_executable(calibration_publisher
  20. src/calibration_publisher.cpp
  21. )
  22. add_dependencies(calibration_publisher
  23. ${catkin_EXPORTED_TARGETS}
  24. )
  25. target_link_libraries(calibration_publisher
  26. ${catkin_LIBRARIES}
  27. )
  28. install(TARGETS calibration_publisher
  29. ARCHIVE DESTINATION ${CATKIN_PACKAGE_LIB_DESTINATION}
  30. LIBRARY DESTINATION ${CATKIN_PACKAGE_LIB_DESTINATION}
  31. RUNTIME DESTINATION ${CATKIN_PACKAGE_BIN_DESTINATION}
  32. )