mirror of
https://github.com/ThrowTheSwitch/Unity.git
synced 2026-01-23 00:15:58 +01:00
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.
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