[SCons] Make dependency on copying Eigen headers explicit
SCons seems to miss this dependency sometimes, resulting in confusing failures while trying to compile DenseMatrix.cpp.
This commit is contained in:
parent
dc09040274
commit
46b7cf180a
1 changed files with 3 additions and 2 deletions
|
|
@ -84,8 +84,9 @@ if env['system_sundials'] == 'n':
|
|||
|
||||
if not env['system_eigen']:
|
||||
license_files.append(('Eigen', 'eigen/COPYING.MPL2'))
|
||||
build(copyenv.Command('#include/cantera/ext/Eigen', '#ext/eigen/Eigen',
|
||||
Copy('$TARGET', '$SOURCE')))
|
||||
h = build(copyenv.Command('#include/cantera/ext/Eigen', '#ext/eigen/Eigen',
|
||||
Copy('$TARGET', '$SOURCE')))
|
||||
copyenv.Depends(copyenv['config_h_target'], h)
|
||||
|
||||
# Google Test: Used internally for Cantera unit tests.
|
||||
if env['googletest'] == 'submodule':
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue