From 973d5902ad82e277553052237ba2086e3d2621dd Mon Sep 17 00:00:00 2001 From: v4hn Date: Wed, 11 Oct 2017 23:06:49 +0200 Subject: [PATCH] benchmarks: always prefer local header over system installations Before, on systems with package installations of MoveIt, the sources of this module included headers from /opt/ros/kinetic/include/ ... instead of the local ones. --- moveit_ros/benchmarks/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/moveit_ros/benchmarks/CMakeLists.txt b/moveit_ros/benchmarks/CMakeLists.txt index 56f33ae901..5c4cac78d7 100644 --- a/moveit_ros/benchmarks/CMakeLists.txt +++ b/moveit_ros/benchmarks/CMakeLists.txt @@ -27,7 +27,7 @@ catkin_package( INCLUDE_DIRS ${CMAKE_CURRENT_LIST_DIR}/include ) -include_directories(${catkin_INCLUDE_DIRS} ${Boost_INCLUDE_DIRS} ${CMAKE_CURRENT_LIST_DIR}/include) +include_directories(${CMAKE_CURRENT_LIST_DIR}/include ${catkin_INCLUDE_DIRS} ${Boost_INCLUDE_DIRS} ) link_directories(${catkin_LIBRARY_DIRS}) add_library(${MOVEIT_LIB_NAME} src/BenchmarkOptions.cpp