From 4ed0d3ecefa74b264a0384baf723b55f7288b4d0 Mon Sep 17 00:00:00 2001 From: Shivam Pandey <46261813+ShivamPR21@users.noreply.github.com> Date: Thu, 2 Jul 2020 00:43:29 +0530 Subject: [PATCH] link pcl library to targets (#287) * link pcl library to targets * changes OS_CODE_NAME to focal in travis config file --- .travis.yml | 2 +- pcl_conversions/CMakeLists.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index f2b2ff82..6558554a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -15,7 +15,7 @@ env: - VERBOSE_OUTPUT=true - VERBOSE_TESTS=true matrix: - - ROS_DISTRO=foxy OS_NAME=ubuntu OS_CODE_NAME=bionic + - ROS_DISTRO=foxy OS_NAME=ubuntu OS_CODE_NAME=focal install: - git clone --branch master --quiet --depth 1 https://github.com/ros-industrial/industrial_ci.git .industrial_ci diff --git a/pcl_conversions/CMakeLists.txt b/pcl_conversions/CMakeLists.txt index e5677dda..499ac38e 100644 --- a/pcl_conversions/CMakeLists.txt +++ b/pcl_conversions/CMakeLists.txt @@ -45,7 +45,7 @@ if(BUILD_TESTING) ament_target_dependencies(${PROJECT_NAME}-test ${dependencies} ) - target_link_libraries(${PROJECT_NAME}-test ${Boost_LIBRARIES}) + target_link_libraries(${PROJECT_NAME}-test ${Boost_LIBRARIES} ${PCL_LIBRARIES}) endif() ament_export_include_directories(include)