[SCons] Fix license file generation when using system version of fmt

This commit is contained in:
Ray Speth
2016-07-05 15:10:51 -04:00
parent 97e84aaf9b
commit 72d8bb014a

View File

@@ -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,