Adding the SYSTEM flag for boost and python headers
This commit is contained in:
parent
4c4b806f9d
commit
680a7ce979
@ -21,7 +21,12 @@ project( indexer )
|
||||
|
||||
find_package( PythonLibs REQUIRED )
|
||||
|
||||
# The SYSTEM flag makes sure that -isystem[header path] is passed to the
|
||||
# compiler instead of the standard -I[header path]. Headers included with
|
||||
# -isystem do not generate warnings (and they shouldn't; e.g. boost warnings are
|
||||
# just noise for us since we won't be changing them).
|
||||
include_directories(
|
||||
SYSTEM
|
||||
${BoostParts_SOURCE_DIR}
|
||||
${PYTHON_INCLUDE_DIRS}
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user