mirror of
https://github.com/godotengine/godot.git
synced 2026-01-06 10:11:57 +03:00
scons: Reorder options for clarity
Also prefix all thirdparty-related toggles with `builtin`.
This commit is contained in:
@@ -6,7 +6,7 @@ Import('env_modules')
|
||||
env_vorbis = env_modules.Clone()
|
||||
|
||||
# Thirdparty source files
|
||||
if (env["libvorbis"] != "system"): # builtin
|
||||
if (env['builtin_libvorbis'] != 'no'):
|
||||
thirdparty_dir = "#thirdparty/libvorbis/"
|
||||
thirdparty_sources = [
|
||||
#"analysis.c",
|
||||
@@ -42,7 +42,7 @@ if (env["libvorbis"] != "system"): # builtin
|
||||
env_vorbis.Append(CPPPATH=[thirdparty_dir])
|
||||
|
||||
# also requires libogg
|
||||
if (env["libogg"] != "system"): # builtin
|
||||
if (env['builtin_libogg'] != 'no'):
|
||||
env_vorbis.Append(CPPPATH=["#thirdparty/libogg"])
|
||||
|
||||
# Godot source files
|
||||
|
||||
Reference in New Issue
Block a user