Skip to content

Commit 04f3d38

Browse files
authored
Merge pull request #771 from rsmyth-ecmi/MesonFix
Fix meson pkg-config generation
2 parents 3ba2bb9 + 4c8dab0 commit 04f3d38

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

meson.build

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -64,10 +64,10 @@ unity_dep = declare_dependency(
6464
if not meson.is_subproject()
6565
pkg = import('pkgconfig')
6666
pkg.generate(
67-
name: meson.project_name(),
67+
unity_lib,
6868
version: meson.project_version(),
69-
libraries: [ unity_lib ],
70-
description: 'C Unit testing framework.'
69+
subdirs: 'unity',
70+
extra_cflags: unity_args,
7171
)
7272
endif
7373

0 commit comments

Comments
 (0)