Skip to content

Commit 3f0d51b

Browse files
committed
Mark external includes as system
1 parent 901c69f commit 3f0d51b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

orocos_kdl/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ find_package(Eigen3 QUIET)
5656
if(NOT EIGEN3_FOUND)
5757
include(${PROJ_SOURCE_DIR}/cmake/FindEigen3.cmake)
5858
endif()
59-
include_directories(${EIGEN3_INCLUDE_DIR})
59+
include_directories(SYSTEM ${EIGEN3_INCLUDE_DIR})
6060
SET(KDL_CFLAGS "${KDL_CFLAGS} -I${EIGEN3_INCLUDE_DIR}")
6161

6262
# Check the platform STL containers capabilities
@@ -83,7 +83,7 @@ endif()
8383
if(KDL_USE_NEW_TREE_INTERFACE)
8484
# We need shared_ptr from boost since not all compilers are c++11 capable
8585
find_package(Boost REQUIRED)
86-
include_directories(${Boost_INCLUDE_DIRS})
86+
include_directories(SYSTEM ${Boost_INCLUDE_DIRS})
8787
endif(KDL_USE_NEW_TREE_INTERFACE)
8888

8989
OPTION(ENABLE_TESTS OFF "Enable building of tests")

0 commit comments

Comments
 (0)