Skip to content

Commit e181c04

Browse files
committed
Fix meson pkg-config generation
The pkg-config file does not include the subdir in its build flags, so files will fail to find the Unity headers.
1 parent cbcd08f commit e181c04

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

meson.build

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ if not meson.is_subproject()
6767
name: meson.project_name(),
6868
version: meson.project_version(),
6969
libraries: [ unity_lib ],
70+
subdirs: 'unity',
7071
description: 'C Unit testing framework.'
7172
)
7273
endif

0 commit comments

Comments
 (0)