Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added the SYSTEM flag to include_directories #435

Merged
merged 1 commit into from
Jul 7, 2015
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 14 additions & 14 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -350,30 +350,30 @@ endif()
# Include directories
#===============================================================================
include_directories(BEFORE ${PROJECT_SOURCE_DIR})
include_directories(${EIGEN3_INCLUDE_DIRS})
include_directories(${FCL_INCLUDE_DIRS})
include_directories(${ASSIMP_INCLUDE_DIRS})
include_directories(${Boost_INCLUDE_DIRS})
include_directories(${OPENGL_INCLUDE_DIR})
include_directories(${GLUT_INCLUDE_DIR})
include_directories(SYSTEM ${EIGEN3_INCLUDE_DIRS})
include_directories(SYSTEM ${FCL_INCLUDE_DIRS})
include_directories(SYSTEM ${ASSIMP_INCLUDE_DIRS})
include_directories(SYSTEM ${Boost_INCLUDE_DIRS})
include_directories(SYSTEM ${OPENGL_INCLUDE_DIR})
include_directories(SYSTEM ${GLUT_INCLUDE_DIR})
if(HAVE_BULLET_COLLISION)
include_directories(${BULLET_INCLUDE_DIRS})
include_directories(SYSTEM ${BULLET_INCLUDE_DIRS})
add_definitions(${BULLET_CFLAGS})
endif()

if(NOT BUILD_CORE_ONLY)
include_directories(${FLANN_INCLUDE_DIRS})
include_directories(${urdfdom_INCLUDE_DIRS})
include_directories(${TINYXML_INCLUDE_DIRS})
include_directories(${TINYXML2_INCLUDE_DIRS})
include_directories(SYSTEM ${FLANN_INCLUDE_DIRS})
include_directories(SYSTEM ${urdfdom_INCLUDE_DIRS})
include_directories(SYSTEM ${TINYXML_INCLUDE_DIRS})
include_directories(SYSTEM ${TINYXML2_INCLUDE_DIRS})
if(HAVE_NLOPT)
include_directories(${NLOPT_INCLUDE_DIRS})
include_directories(SYSTEM ${NLOPT_INCLUDE_DIRS})
endif()
if(HAVE_IPOPT)
include_directories(${IPOPT_INCLUDE_DIRS})
include_directories(SYSTEM ${IPOPT_INCLUDE_DIRS})
endif()
if(HAVE_SHARK)
include_directories(${SHARK_INCLUDE_DIRS})
include_directories(SYSTEM ${SHARK_INCLUDE_DIRS})
endif()
endif()

Expand Down