Skip to content

Commit

Permalink
use meson built in default_library switch for building shared/static …
Browse files Browse the repository at this point in the history
…instead of unused option
  • Loading branch information
jason committed Jul 26, 2024
1 parent 5be306d commit dd39644
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
4 changes: 1 addition & 3 deletions meson.build
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
project('lcm', 'c', 'cpp',
version : '1.5.0',
default_options : ['default_library=static',
'buildtype=release',
default_options : ['buildtype=release',
'c_std=gnu99',
'warning_level=0',
'c_args=-Wno-format-zero-length'])
Expand Down Expand Up @@ -70,7 +69,6 @@ enabled_options = {'Build test and example programs': get_option('lcm_enable_exa
'Build unit tests': get_option('lcm_enable_tests'),
'Install autotools support M4 macros': get_option('lcm_install_m4macros'),
'Install pkg-config files': get_option('lcm_install_pkgconfig'),
'Build shared libraries': get_option('build_shared_libs'),
'Build lcmgen core modules': get_option('lcm_enable_lcmgen')}

summary_reference = {}
Expand Down
1 change: 0 additions & 1 deletion meson_options.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,4 @@ option('lcm_enable_lua', type : 'feature', value : 'auto', description : 'Build
option('lcm_enable_tests', type : 'feature', value : 'disabled', description : 'Build unit tests')
option('lcm_install_m4macros', type : 'feature', value : 'enabled', description : 'Install autotools support M4 macros')
option('lcm_install_pkgconfig', type : 'feature', value : 'enabled', description : 'Install pkg-config files')
option('build_shared_libs', type : 'feature', value: 'enabled', description : 'Build shared libraries')
option('lcm_enable_lcmgen', type : 'feature', value: 'enabled', description : 'Build lcmgen core module')

0 comments on commit dd39644

Please sign in to comment.