mirror of
https://github.com/Cantera/cantera.git
synced 2025-02-25 18:55:29 -06:00
[SCons] Fix license file generation when using system version of fmt
This commit is contained in:
@@ -25,8 +25,8 @@ def prep_gtest(env):
|
||||
|
||||
def prep_fmt(env):
|
||||
localenv = prep_default(env)
|
||||
license_files.append(('fmtlib', 'fmt/LICENSE.rst'))
|
||||
if not env['system_fmt']:
|
||||
license_files.append(('fmtlib', 'fmt/LICENSE.rst'))
|
||||
for name in ('format.h', 'ostream.h'):
|
||||
build(localenv.Command("#include/cantera/ext/fmt/" + name,
|
||||
"#ext/fmt/fmt/" + name,
|
||||
|
||||
Reference in New Issue
Block a user