summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '3rdParty/Boost')
-rw-r--r--3rdParty/Boost/SConscript6
1 files changed, 5 insertions, 1 deletions
diff --git a/3rdParty/Boost/SConscript b/3rdParty/Boost/SConscript
index 87d8ef5..86871fd 100644
--- a/3rdParty/Boost/SConscript
+++ b/3rdParty/Boost/SConscript
@@ -5,7 +5,11 @@ if env.get("BOOST_BUNDLED_UUID_ONLY", False) :
# Cherry pick UUID out of the 3rdParty dir, install it in a separate
# dir, and use this as an include path.
if env["SCONS_STAGE"] == "flags" :
- env["BOOST_FLAGS"]["CPPFLAGS"] = env["BOOST_FLAGS"].get("CPPFLAGS", []) + ["-I" + env.Dir("uuid").abspath]
+ if env["PLATFORM"] == "win32" :
+ uuid_cppflags = ["/I" + Dir("uuid").abspath]
+ else :
+ uuid_cppflags = [("-isystem", Dir("uuid").abspath)]
+ env["BOOST_FLAGS"]["CPPFLAGS"] = env["BOOST_FLAGS"].get("CPPFLAGS", []) + uuid_cppflags
elif env["SCONS_STAGE"] == "build" :
env.Install("uuid/boost", "src/boost/uuid")