Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Guilhem Saurel
hpp-fcl
Commits
e33ecee4
Verified
Commit
e33ecee4
authored
Aug 05, 2019
by
Justin Carpentier
Browse files
cmake: use SYSTEM when include directories
parent
b63a0bd0
Changes
3
Hide whitespace changes
Inline
Side-by-side
CMakeLists.txt
View file @
e33ecee4
...
...
@@ -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"
)
...
...
src/CMakeLists.txt
View file @
e33ecee4
...
...
@@ -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
}
...
...
test/CMakeLists.txt
View file @
e33ecee4
...
...
@@ -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
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment