diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2017-09-25 22:44:05 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-09-25 22:44:05 +0200 |
commit | 78aa7b382a8b1c80e0e2b01e02ff0acb2942e2e1 (patch) | |
tree | f233c01bb087310b8e3ae931287f4740135cac61 /modules/opus/SCsub | |
parent | 5195935156f942418a2ef3f1159a4bab391ba11e (diff) | |
parent | 3e69d19116e8d0d64fcbb096d925249e5d3596ed (diff) |
Merge pull request #11567 from QuLogic/scons-var-types
Add types to scons command-line options
Diffstat (limited to 'modules/opus/SCsub')
-rw-r--r-- | modules/opus/SCsub | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/opus/SCsub b/modules/opus/SCsub index 4d3053c7ec..fee06bd267 100644 --- a/modules/opus/SCsub +++ b/modules/opus/SCsub @@ -6,7 +6,7 @@ Import('env_modules') env_opus = env_modules.Clone() # Thirdparty source files -if (env['builtin_opus'] != 'no'): +if env['builtin_opus']: thirdparty_dir = "#thirdparty/opus/" thirdparty_sources = [ @@ -209,7 +209,7 @@ if (env['builtin_opus'] != 'no'): env_opus.Append(CPPPATH=[thirdparty_dir + "/" + dir for dir in thirdparty_include_paths]) # also requires libogg - if (env['builtin_libogg'] != 'no'): + if env['builtin_libogg']: env_opus.Append(CPPPATH=["#thirdparty/libogg"]) # Module files |