[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:
Sebastian Pinnau 2019-07-23 14:17:45 +02:00 committed by Ray Speth
parent 6852087ff5
commit dda89663ea

View file

@ -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'])