mirror of
https://github.com/Redot-Engine/redot-engine.git
synced 2025-12-06 07:17:42 -05:00
SCons: Build thirdparty code in own env, disable warnings
Also remove unnecessary `Export('env')` in other SCsubs,
Export should only be used when exporting *new* objects.
This commit is contained in:
@@ -73,6 +73,8 @@ if env['builtin_freetype']:
|
||||
if env['builtin_libpng']:
|
||||
env.Append(CPPPATH=["#thirdparty/libpng"])
|
||||
|
||||
# FIXME: Find a way to build this in a separate env nevertheless
|
||||
# so that we can disable warnings on thirdparty code
|
||||
lib = env.add_library("freetype_builtin", thirdparty_sources)
|
||||
# Needs to be appended to arrive after libscene in the linker call,
|
||||
# but we don't want it to arrive *after* system libs, so manual hack
|
||||
|
||||
Reference in New Issue
Block a user