diff --git a/cartographer_ros/CMakeLists.txt b/cartographer_ros/CMakeLists.txt index 007bf4e..2ede4d2 100644 --- a/cartographer_ros/CMakeLists.txt +++ b/cartographer_ros/CMakeLists.txt @@ -46,6 +46,7 @@ catkin_package( CATKIN_DEPENDS message_runtime ${PACKAGE_DEPENDENCIES} + INCLUDE_DIRS ${PROJECT_NAME} ) find_package(PCL REQUIRED COMPONENTS common io) diff --git a/cartographer_rviz/CMakeLists.txt b/cartographer_rviz/CMakeLists.txt index 84efda5..4e8f530 100644 --- a/cartographer_rviz/CMakeLists.txt +++ b/cartographer_rviz/CMakeLists.txt @@ -34,6 +34,7 @@ catkin_package( CATKIN_DEPENDS message_runtime ${PACKAGE_DEPENDENCIES} + INCLUDE_DIRS ${PROJECT_NAME} ) set(CMAKE_AUTOMOC ON)