Merge pull request #771 from rsmyth-ecmi/MesonFix

Fix meson pkg-config generation
This commit is contained in:
Mark VanderVoord
2025-07-10 13:53:04 -04:00
committed by GitHub

View File

@ -64,10 +64,10 @@ unity_dep = declare_dependency(
if not meson.is_subproject() if not meson.is_subproject()
pkg = import('pkgconfig') pkg = import('pkgconfig')
pkg.generate( pkg.generate(
name: meson.project_name(), unity_lib,
version: meson.project_version(), version: meson.project_version(),
libraries: [ unity_lib ], subdirs: 'unity',
description: 'C Unit testing framework.' extra_cflags: unity_args,
) )
endif endif