Skip to content

Commit

Permalink
Merge pull request #5835 from GafferHQ/genSchemaFix
Browse files Browse the repository at this point in the history
SConstruct : Fix calls to `usdGenSchema` on Windows
  • Loading branch information
murraystevenson authored Apr 30, 2024
2 parents 03fc5ea + 2589ed2 commit e55e4af
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion SConstruct
Original file line number Diff line number Diff line change
Expand Up @@ -1862,7 +1862,9 @@ for libraryName, libraryDef in libraries.items() :
subprocess.check_call(
[
shutil.which( "gaffer.cmd" if sys.platform == "win32" else "gaffer", path = env["ENV"]["PATH"] ),
"env", "usdGenSchema", str( source[0] ), targetDir
"env",
"usdGenSchema.cmd" if sys.platform == "win32" else "usdGenSchema",
str( source[0] ), targetDir
],
env = env["ENV"]
)
Expand Down

0 comments on commit e55e4af

Please sign in to comment.