Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Stack Of Tasks
pinocchio
Commits
be395a5c
Commit
be395a5c
authored
Jan 09, 2018
by
jcarpent
Browse files
[CMake] Add SYSTEM info to INCLUDE_DIRECTORIES macro
It removes useless warnings
parent
cf608808
Changes
1
Hide whitespace changes
Inline
Side-by-side
CMakeLists.txt
View file @
be395a5c
...
...
@@ -144,7 +144,7 @@ SET(BOOST_OPTIONAL_COMPONENTS "")
IF
(
BUILD_PYTHON_INTERFACE
)
SET
(
BOOST_OPTIONAL_COMPONENTS
${
BOOST_OPTIONAL_COMPONENTS
}
python
)
FINDPYTHON
(
2.7 EXACT REQUIRED
)
INCLUDE_DIRECTORIES
(
${
PYTHON_INCLUDE_DIRS
}
)
INCLUDE_DIRECTORIES
(
SYSTEM
${
PYTHON_INCLUDE_DIRS
}
)
ENDIF
(
BUILD_PYTHON_INTERFACE
)
SET
(
BOOST_COMPONENTS
${
BOOST_REQUIERED_COMPONENTS
}
${
BOOST_OPTIONAL_COMPONENTS
}
${
BOOST_BUILD_COMPONENTS
}
)
...
...
@@ -154,7 +154,7 @@ SEARCH_FOR_BOOST()
SET
(
CFLAGS_DEPENDENCIES
)
# Path to boost headers
INCLUDE_DIRECTORIES
(
${
Boost_INCLUDE_DIRS
}
)
INCLUDE_DIRECTORIES
(
SYSTEM
${
Boost_INCLUDE_DIRS
}
)
# ----------------------------------------------------
# --- INCLUDE ----------------------------------------
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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