install target
This commit is contained in:
@@ -17,6 +17,12 @@ find_package(drone_services REQUIRED)
|
||||
add_executable(position_changer src/PositionChanger.cpp)
|
||||
ament_target_dependencies(position_changer rclcpp px4_msgs drone_services)
|
||||
|
||||
target_include_directories(position_changer PUBLIC
|
||||
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include>
|
||||
$<INSTALL_INTERFACE:include>)
|
||||
|
||||
install(TARGETS position_changer
|
||||
DESTINATION lib/${PROJECT_NAME})
|
||||
|
||||
if(BUILD_TESTING)
|
||||
find_package(ament_lint_auto REQUIRED)
|
||||
|
||||
Reference in New Issue
Block a user