fix(tomlplusplus): statically linked into reflectC++

Previously tomlplusplus was built as a shared library but not installed. Now it is statically linked into reflectc++ which was already built as a static library
This commit is contained in:
2026-01-31 08:32:06 -05:00
parent 63a78debae
commit e5c9b028fb
2 changed files with 2 additions and 2 deletions

View File

@@ -1,4 +1,4 @@
tomlpp_dep = dependency('tomlplusplus', required: true).as_system()
tomlpp_dep = dependency('tomlplusplus', required: true, static: true).as_system()
reflect_cpp_sources = files(
'src/yyjson.c',

View File

@@ -18,7 +18,7 @@
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
#
# *********************************************************************** #
project('libconfig', ['cpp', 'c'], version: 'v2.0.3', default_options: ['cpp_std=c++23'], meson_version: '>=1.5.0')
project('libconfig', ['cpp', 'c'], version: 'v2.0.4', default_options: ['cpp_std=c++23'], meson_version: '>=1.5.0')
# Add default visibility for all C++ targets
add_project_arguments('-fvisibility=default', language: 'cpp')