mirror of
https://github.com/Cantera/cantera.git
synced 2025-02-25 18:55:29 -06:00
[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:
@@ -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':
|
||||
|
||||
Reference in New Issue
Block a user