From e8fba896fa709d18f6ec6b59d597b4328a5453f8 Mon Sep 17 00:00:00 2001 From: David Gossow Date: Fri, 28 Jun 2013 15:08:54 -0700 Subject: [PATCH] [bugfix] export boost and eigen via DEPENDS --- CMakeLists.txt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index a2e06eb..8a67cc4 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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})