mirror of
https://github.com/godotengine/godot.git
synced 2026-01-05 06:11:29 +03:00
Use BoolVariable in platform-specific options.
This commit is contained in:
@@ -29,7 +29,7 @@ zip_dir = target_dir.Dir('.javascript_zip')
|
||||
zip_files = env.InstallAs(zip_dir.File('godot.html'), '#misc/dist/html/default.html')
|
||||
|
||||
implicit_targets = []
|
||||
if env['wasm'] == 'yes':
|
||||
if env['wasm']:
|
||||
wasm = target_dir.File(basename + '.wasm')
|
||||
implicit_targets.append(wasm)
|
||||
zip_files.append(InstallAs(zip_dir.File('godot.wasm'), wasm))
|
||||
|
||||
Reference in New Issue
Block a user