scons: change -I to -isystem for fast=true option in boost.py
This commit is contained in:
parent
a48be105f7
commit
b34b289928
1 changed files with 1 additions and 1 deletions
|
@ -70,7 +70,7 @@ def CheckBoost(context, boost_lib, require_version = None, header_only = False):
|
|||
libname = "boost_" + boost_lib + env.get("boost_suffix", "")
|
||||
|
||||
if env["fast"]:
|
||||
env.AppendUnique(CXXFLAGS = "-I" + boostdir, LIBPATH = [boostlibdir])
|
||||
env.AppendUnique(CXXFLAGS = ["-isystem", boostdir], LIBPATH = [boostlibdir])
|
||||
else:
|
||||
env.AppendUnique(CPPPATH = [boostdir], LIBPATH = [boostlibdir])
|
||||
if not header_only:
|
||||
|
|
Loading…
Add table
Reference in a new issue