mirror of
https://github.com/Redot-Engine/redot-engine.git
synced 2025-12-06 07:17:42 -05:00
SCons: Add CPPEXTPATH for external includes
This commit is contained in:
@@ -42,11 +42,11 @@ if env["builtin_libvorbis"]:
|
||||
|
||||
thirdparty_sources = [thirdparty_dir + file for file in thirdparty_sources]
|
||||
|
||||
env_vorbis.Prepend(CPPPATH=[thirdparty_dir])
|
||||
env_vorbis.Prepend(CPPEXTPATH=[thirdparty_dir])
|
||||
|
||||
# also requires libogg
|
||||
if env["builtin_libogg"]:
|
||||
env_vorbis.Prepend(CPPPATH=["#thirdparty/libogg"])
|
||||
env_vorbis.Prepend(CPPEXTPATH=["#thirdparty/libogg"])
|
||||
|
||||
env_thirdparty = env_vorbis.Clone()
|
||||
env_thirdparty.disable_warnings()
|
||||
|
||||
Reference in New Issue
Block a user