mirror of
https://github.com/Cantera/cantera.git
synced 2026-08-19 01:14:44 -05:00
[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:
+1
-2
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user