Merge pull request #104893 from Repiteo/scons/external-includes-alt

SCons: Add `CPPEXTPATH` for external includes
This commit is contained in:
Thaddeus Crews
2025-04-02 07:48:03 -05:00
committed by GitHub
55 changed files with 141 additions and 290 deletions

View File

@ -31,7 +31,7 @@ thirdparty_sources = [
]
thirdparty_sources = [thirdparty_dir + file for file in thirdparty_sources]
env_csg.Prepend(CPPPATH=[thirdparty_dir + "include"])
env_csg.Prepend(CPPEXTPATH=[thirdparty_dir + "include"])
env_thirdparty = env_csg.Clone()
env_thirdparty.disable_warnings()
env_thirdparty.add_source_files(thirdparty_obj, thirdparty_sources)