We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 901c69f commit 3f0d51bCopy full SHA for 3f0d51b
orocos_kdl/CMakeLists.txt
@@ -56,7 +56,7 @@ find_package(Eigen3 QUIET)
56
if(NOT EIGEN3_FOUND)
57
include(${PROJ_SOURCE_DIR}/cmake/FindEigen3.cmake)
58
endif()
59
-include_directories(${EIGEN3_INCLUDE_DIR})
+include_directories(SYSTEM ${EIGEN3_INCLUDE_DIR})
60
SET(KDL_CFLAGS "${KDL_CFLAGS} -I${EIGEN3_INCLUDE_DIR}")
61
62
# Check the platform STL containers capabilities
@@ -83,7 +83,7 @@ endif()
83
if(KDL_USE_NEW_TREE_INTERFACE)
84
# We need shared_ptr from boost since not all compilers are c++11 capable
85
find_package(Boost REQUIRED)
86
- include_directories(${Boost_INCLUDE_DIRS})
+ include_directories(SYSTEM ${Boost_INCLUDE_DIRS})
87
endif(KDL_USE_NEW_TREE_INTERFACE)
88
89
OPTION(ENABLE_TESTS OFF "Enable building of tests")
0 commit comments