fix(wasm): propegate all build flags

This commit is contained in:
2025-12-03 11:27:01 -05:00
parent 2caf46c984
commit 979ec80dc4
8 changed files with 47 additions and 34 deletions

View File

@@ -1,4 +1,9 @@
composition_p = subproject('libcomposition', default_options: ['pkg-config=' + pkg_config_bool_str])
composition_p = subproject('libcomposition',
default_options: [
'pkg_config=' + get_option('pkg_config').to_string(),
'build_tests=' + get_option('build_tests').to_string(),
'build_examples=false'
])
comp_dep = composition_p.get_variable('composition_dep')
libcomposition = composition_p.get_variable('libcomposition')
spw_dep = composition_p.get_variable('species_weight_dep')
@@ -7,4 +12,4 @@ composition_dep = [
spw_dep,
]
alias_target('build-libcomposition', libcomposition)
alias_target('build-libcomposition', libcomposition)