mirror of
https://github.com/ThrowTheSwitch/Unity.git
synced 2025-08-18 17:51:04 +08:00
Merge pull request #771 from rsmyth-ecmi/MesonFix
Fix meson pkg-config generation
This commit is contained in:
@ -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
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user