Skip to content

Commit

Permalink
Merge pull request #435 from mkoval/bugfix/SystemIncludeDirectories
Browse files Browse the repository at this point in the history
Added the SYSTEM flag to include_directories
  • Loading branch information
jslee02 committed Jul 7, 2015
2 parents 6e0829c + 47e211b commit 36ec220
Showing 1 changed file with 14 additions and 14 deletions.
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

0 comments on commit 36ec220

Please sign in to comment.