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:
parent
5e27157ec2
commit
4ed0d3ecef
@ -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
|
||||||
|
|||||||
@ -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)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user