Skip to content

Commit

Permalink
Merge pull request #76 from elandini84/fix/ros2Localizer/YARP_rosmsg_ref
Browse files Browse the repository at this point in the history
Removed unnecessary link to YARP_rosmsg in ros2Localizer
  • Loading branch information
randaz81 authored Jan 12, 2024
2 parents 7318508 + 77c0e6b commit 166deba
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions src/localizationDevices/ros2Localizer/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#
# Copyright (C) 2016 iCub Facility - IIT Istituto Italiano di Tecnologia
# Copyright (C) 2016 iCub Facility - IIT Istituto Italiano di Tecnologia
# Author: Marco Randazzo [email protected]
# CopyPolicy: Released under the terms of the GNU GPL v2.0.
#
Expand All @@ -20,7 +20,7 @@ yarp_prepare_plugin(ros2Localizer
if(SKIP_ros2Localizer)
return()
endif()

set(CMAKE_INCLUDE_CURRENT_DIR ON)

file(GLOB folder_source *.cpp)
Expand All @@ -30,12 +30,11 @@ source_group("Source Files" FILES ${folder_source})
source_group("Header Files" FILES ${folder_header})

yarp_add_plugin(ros2Localizer ${folder_source} ${folder_header})

target_link_libraries(ros2Localizer YARP::YARP_os
YARP::YARP_sig
YARP::YARP_dev
YARP::YARP_math
YARP::YARP_rosmsg
navigation_lib
rclcpp::rclcpp
nav2_msgs::nav2_msgs__rosidl_typesupport_cpp
Expand All @@ -54,7 +53,7 @@ yarp_install(TARGETS ros2Localizer
ARCHIVE DESTINATION ${NAVIGATION_STATIC_PLUGINS_INSTALL_DIR}
YARP_INI DESTINATION ${NAVIGATION_PLUGIN_MANIFESTS_INSTALL_DIR})


set(YARP_${YARP_PLUGIN_MASTER}_PRIVATE_DEPS ${YARP_${YARP_PLUGIN_MASTER}_PRIVATE_DEPS} PARENT_SCOPE)

set_property(TARGET ros2Localizer PROPERTY FOLDER "Plugins/Localization Devices")
Expand Down

0 comments on commit 166deba

Please sign in to comment.