diff options
author | Remko Tronçon <git@el-tramo.be> | 2013-04-21 14:45:37 (GMT) |
---|---|---|
committer | Remko Tronçon <git@el-tramo.be> | 2013-04-21 14:45:37 (GMT) |
commit | 5eff3391c316d5ab325b78024296e74127c6747c (patch) | |
tree | a86008521ec5d1b5704c76aae72545344536ad2b /3rdParty | |
parent | f5946a1273b363f46ae0753eccdf6bd96a72e997 (diff) | |
download | swift-5eff3391c316d5ab325b78024296e74127c6747c.zip swift-5eff3391c316d5ab325b78024296e74127c6747c.tar.bz2 |
Fix compilation when 3rdParty/ is not there.
Change-Id: I6d86bf7d8dcc750ff69ff08500c9987b3c1de43e
Diffstat (limited to '3rdParty')
-rw-r--r-- | 3rdParty/LibMiniUPnPc/SConscript | 1 | ||||
-rw-r--r-- | 3rdParty/LibNATPMP/SConscript | 1 | ||||
-rw-r--r-- | 3rdParty/Lua/SConscript | 1 |
3 files changed, 3 insertions, 0 deletions
diff --git a/3rdParty/LibMiniUPnPc/SConscript b/3rdParty/LibMiniUPnPc/SConscript index 0cf0be7..505060f 100644 --- a/3rdParty/LibMiniUPnPc/SConscript +++ b/3rdParty/LibMiniUPnPc/SConscript @@ -7,6 +7,7 @@ if env.get("LIBMINIUPNPC_BUNDLED", False) : ################################################################################ if env["SCONS_STAGE"] == "flags" : + env["HAVE_LIBMINIUPNPC"] = True env["LIBMINIUPNPC_FLAGS"] = { "CPPPATH": [Dir("src/miniupnpc")], "LIBPATH": [Dir(".")], diff --git a/3rdParty/LibNATPMP/SConscript b/3rdParty/LibNATPMP/SConscript index 7adaa51..5d08698 100644 --- a/3rdParty/LibNATPMP/SConscript +++ b/3rdParty/LibNATPMP/SConscript @@ -7,6 +7,7 @@ if env.get("LIBNATPMP_BUNDLED", False) : ################################################################################ if env["SCONS_STAGE"] == "flags" : + env["HAVE_LIBNATPMP"] = True env["LIBNATPMP_FLAGS"] = { "CPPPATH": [Dir("src/libnatpmp")], "LIBPATH": [Dir(".")], diff --git a/3rdParty/Lua/SConscript b/3rdParty/Lua/SConscript index 0c1d075..acb2fba 100644 --- a/3rdParty/Lua/SConscript +++ b/3rdParty/Lua/SConscript @@ -7,6 +7,7 @@ if env.get("LUA_BUNDLED", False) : ################################################################################ if env["SCONS_STAGE"] == "flags" : + env["HAVE_LUA"] = True cppdefines = [] if not env["optimize"] : cppdefines.append("LUA_USE_APICHECK") |