[SCons] Add yaml-cpp to shared libraries if building with system yaml-cpp
If building Cantera with system_yamlcpp=y the yaml-cpp library needs to be specified in the linker flags. Fixes #668
This commit is contained in:
parent
6852087ff5
commit
dda89663ea
1 changed files with 4 additions and 0 deletions
|
|
@ -1620,6 +1620,10 @@ else:
|
|||
linkLibs.extend(env['sundials_libs'])
|
||||
linkSharedLibs.extend(env['sundials_libs'])
|
||||
|
||||
if env['system_yamlcpp']:
|
||||
linkLibs.append('yaml-cpp')
|
||||
linkSharedLibs.append('yaml-cpp')
|
||||
|
||||
# Add LAPACK and BLAS to the link line
|
||||
if env['blas_lapack_libs']:
|
||||
linkLibs.extend(env['blas_lapack_libs'])
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue