[bugfix] export boost and eigen via DEPENDS
This commit is contained in:
parent
f25cdfe251
commit
e8fba896fa
|
|
@ -6,11 +6,12 @@ list(APPEND CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/cmake)
|
|||
|
||||
find_package(Boost REQUIRED COMPONENTS thread)
|
||||
|
||||
find_package(Eigen REQUIRED)
|
||||
find_package(EIGEN REQUIRED)
|
||||
|
||||
catkin_package(
|
||||
INCLUDE_DIRS include ${Boost_INCLUDE_DIRS} ${EIGEN_INCLUDE_DIRS}
|
||||
INCLUDE_DIRS include
|
||||
LIBRARIES laser_geometry
|
||||
DEPENDS Boost EIGEN
|
||||
)
|
||||
|
||||
include_directories(SYSTEM ${Boost_INCLUDE_DIRS} ${EIGEN_INCLUDE_DIRS})
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user