link pcl library to targets (#287)

* link pcl library to targets

* changes OS_CODE_NAME to focal in travis config file
This commit is contained in:
Shivam Pandey 2020-07-02 00:43:29 +05:30 committed by GitHub
parent 5e27157ec2
commit 4ed0d3ecef
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -15,7 +15,7 @@ env:
- VERBOSE_OUTPUT=true - VERBOSE_OUTPUT=true
- VERBOSE_TESTS=true - VERBOSE_TESTS=true
matrix: matrix:
- ROS_DISTRO=foxy OS_NAME=ubuntu OS_CODE_NAME=bionic - ROS_DISTRO=foxy OS_NAME=ubuntu OS_CODE_NAME=focal
install: install:
- git clone --branch master --quiet --depth 1 https://github.com/ros-industrial/industrial_ci.git .industrial_ci - git clone --branch master --quiet --depth 1 https://github.com/ros-industrial/industrial_ci.git .industrial_ci

View File

@ -45,7 +45,7 @@ if(BUILD_TESTING)
ament_target_dependencies(${PROJECT_NAME}-test ament_target_dependencies(${PROJECT_NAME}-test
${dependencies} ${dependencies}
) )
target_link_libraries(${PROJECT_NAME}-test ${Boost_LIBRARIES}) target_link_libraries(${PROJECT_NAME}-test ${Boost_LIBRARIES} ${PCL_LIBRARIES})
endif() endif()
ament_export_include_directories(include) ament_export_include_directories(include)