From c0f019407e932ddd039184562b393760048fcf48 Mon Sep 17 00:00:00 2001 From: "Bryan W. Weber" Date: Tue, 23 Jul 2019 12:07:51 -0400 Subject: [PATCH] [SCons] Link to yaml-cpp when using system libs Similar to the system_sundials option, libyaml-cpp must be added to the linker line when the system libraries are used. --- src/SConscript | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/SConscript b/src/SConscript index 952bd021e..94845a27e 100644 --- a/src/SConscript +++ b/src/SConscript @@ -87,6 +87,9 @@ if localenv['blas_lapack_libs']: if localenv['system_fmt']: localenv.Append(LIBS='fmt') +if localenv['system_yamlcpp']: + localenv.Append(LIBS=['yaml-cpp']) + # Build the Cantera shared library if localenv['layout'] != 'debian': if localenv['renamed_shared_libraries']: