Verified Commit e33ecee4 authored by Justin Carpentier's avatar Justin Carpentier
Browse files

cmake: use SYSTEM when include directories

parent b63a0bd0
......@@ -60,7 +60,7 @@ ENDIF(APPLE)
setup_hpp_project()
add_required_dependency("eigen3 >= 3.0.0")
include_directories(${EIGEN3_INCLUDE_DIRS})
include_directories(SYSTEM ${EIGEN3_INCLUDE_DIRS})
# Add a cache variable to allow not compiling and running tests
set (RUN_TESTS TRUE CACHE BOOL "compile and run unit tests")
......
......@@ -83,7 +83,7 @@ set(${LIBRARY_NAME}_SOURCES
)
# Declare boost include directories
include_directories(${Boost_INCLUDE_DIRS})
include_directories(SYSTEM ${Boost_INCLUDE_DIRS})
link_directories(${Boost_LIBRARY_DIRS})
add_library(${LIBRARY_NAME}
......
......@@ -18,7 +18,7 @@ macro(add_fcl_test test_name)
endmacro(add_fcl_test)
include_directories(${CMAKE_CURRENT_BINARY_DIR})
include_directories(${Boost_INCLUDE_DIRS})
include_directories(SYSTEM ${Boost_INCLUDE_DIRS})
add_fcl_test(test_fcl_math test_fcl_math.cpp)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment