summaryrefslogtreecommitdiff
path: root/modules/theora/SCsub
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2017-09-25 22:44:05 +0200
committerGitHub <noreply@github.com>2017-09-25 22:44:05 +0200
commit78aa7b382a8b1c80e0e2b01e02ff0acb2942e2e1 (patch)
treef233c01bb087310b8e3ae931287f4740135cac61 /modules/theora/SCsub
parent5195935156f942418a2ef3f1159a4bab391ba11e (diff)
parent3e69d19116e8d0d64fcbb096d925249e5d3596ed (diff)
Merge pull request #11567 from QuLogic/scons-var-types
Add types to scons command-line options
Diffstat (limited to 'modules/theora/SCsub')
-rw-r--r--modules/theora/SCsub6
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/theora/SCsub b/modules/theora/SCsub
index 2de4d29640..9015c2c354 100644
--- a/modules/theora/SCsub
+++ b/modules/theora/SCsub
@@ -6,7 +6,7 @@ Import('env_modules')
env_theora = env_modules.Clone()
# Thirdparty source files
-if (env['builtin_libtheora'] != 'no'):
+if env['builtin_libtheora']:
thirdparty_dir = "#thirdparty/libtheora/"
thirdparty_sources = [
#"analyze.c",
@@ -74,9 +74,9 @@ if (env['builtin_libtheora'] != 'no'):
env_theora.Append(CPPPATH=[thirdparty_dir])
# also requires libogg and libvorbis
- if (env['builtin_libogg'] != 'no'):
+ if env['builtin_libogg']:
env_theora.Append(CPPPATH=["#thirdparty/libogg"])
- if (env['builtin_libvorbis'] != 'no'):
+ if env['builtin_libvorbis']:
env_theora.Append(CPPPATH=["#thirdparty/libvorbis"])
# Godot source files