diff options
Diffstat (limited to 'o3d/tests/build.scons')
-rw-r--r-- | o3d/tests/build.scons | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/o3d/tests/build.scons b/o3d/tests/build.scons index 83efd83..218fbda 100644 --- a/o3d/tests/build.scons +++ b/o3d/tests/build.scons @@ -153,12 +153,12 @@ if env.Bit('windows'): env.Help('\n') swiftshader_install = [] -if env.Bit('windows'):
- # Copy SwiftShader to plugin dir.
- swiftshader_path = env.subst('$SWIFTSHADER_DIR/swiftshader_d3d9.dll')
- if os.path.exists(swiftshader_path):
- swiftshader_install = env.Replicate('$ARTIFACTS_DIR/O3DExtras',
- swiftshader_path)
+if env.Bit('windows'): + # Copy SwiftShader to plugin dir. + swiftshader_path = env.subst('$SWIFTSHADER_DIR/swiftshader_d3d9.dll') + if os.path.exists(swiftshader_path): + swiftshader_install = env.Replicate('$ARTIFACTS_DIR/O3DExtras', + swiftshader_path) # ------------------------------------------------------------------------- # Unit tests |