fix(wasm): propegate all build flags
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user