use find_package to get Boost dependency
This commit is contained in:
parent
d39ce225c9
commit
0615c3532a
|
|
@ -10,6 +10,9 @@ find_package(sensor_msgs REQUIRED)
|
|||
find_package(tf2 REQUIRED)
|
||||
find_package(ecl_eigen REQUIRED)
|
||||
|
||||
set(Boost_USE_STATIC_LIBS ON)
|
||||
find_package(Boost REQUIRED)
|
||||
|
||||
# TODO(dhood): enable python support once ported to ROS 2
|
||||
# catkin_python_setup()
|
||||
|
||||
|
|
@ -27,7 +30,7 @@ include_directories(include
|
|||
${sensor_msgs_INCLUDE_DIRS}
|
||||
${tf2_INCLUDE_DIRS}
|
||||
${tf2_eigen_INCLUDE_DIRS}
|
||||
$ENV{BOOST_ROOT}
|
||||
${Boost_INCLUDE_DIRS}
|
||||
)
|
||||
|
||||
add_library(laser_geometry src/laser_geometry.cpp)
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user