[SCons] Fix incorrect directory created in build tree
The 'Mkdir' command was creating a (literal) '#include' directory, rather than taking the '#' to mean the top of the source tree. The 'Mkdir' command is unnecessary anyway, since the 'Copy' command will create the necessary subdirectory. Fixes #304.
This commit is contained in:
parent
afde0a7b52
commit
84566a3a7d
1 changed files with 1 additions and 2 deletions
|
|
@ -51,8 +51,7 @@ def prep_cppformat(env):
|
|||
localenv = prep_default(env)
|
||||
build(localenv.Command("#include/cantera/ext/format.h",
|
||||
"#ext/cppformat/format.h",
|
||||
[Mkdir("#include/cantera/ext"),
|
||||
Copy('$TARGET', '$SOURCE')]))
|
||||
Copy('$TARGET', '$SOURCE')))
|
||||
return localenv
|
||||
|
||||
# each element of libs is: (subdir, (file extensions), prepfunction)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue