scons: Reorder options for clarity
Also prefix all thirdparty-related toggles with `builtin`.
This commit is contained in:
parent
cc54189911
commit
cc95d4448c
21 changed files with 89 additions and 84 deletions
|
|
@ -6,7 +6,7 @@ Import('env_modules')
|
|||
env_opus = env_modules.Clone()
|
||||
|
||||
# Thirdparty source files
|
||||
if (env["opus"] != "system"): # builtin
|
||||
if (env['builtin_opus'] != 'no'):
|
||||
thirdparty_dir = "#thirdparty/opus/"
|
||||
|
||||
thirdparty_sources = [
|
||||
|
|
@ -208,7 +208,7 @@ if (env["opus"] != "system"): # builtin
|
|||
env_opus.Append(CPPPATH=[thirdparty_dir + "/" + dir for dir in thirdparty_include_paths])
|
||||
|
||||
# also requires libogg
|
||||
if (env["libogg"] != "system"): # builtin
|
||||
if (env['builtin_libogg'] != 'no'):
|
||||
env_opus.Append(CPPPATH=["#thirdparty/libogg"])
|
||||
|
||||
# Module files
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue