ppovb5fc7/gazebo/examples/plugins/projector/CMakeLists.txt

10 lines
326 B
CMake
Raw Normal View History

2019-03-04 17:11:56 +08:00
cmake_minimum_required(VERSION 2.8 FATAL_ERROR)
find_package(gazebo REQUIRED)
include_directories(${GAZEBO_INCLUDE_DIRS})
link_directories(${GAZEBO_LIBRARY_DIRS})
list(APPEND CMAKE_CXX_FLAGS "${GAZEBO_CXX_FLAGS}")
add_library(projector_plugin SHARED projector.cc)
target_link_libraries(projector_plugin ${GAZEBO_LIBRARIES})