mirror of
https://github.com/ThrowTheSwitch/Unity.git
synced 2026-01-23 08:25:58 +01:00
When a project is consuming unity as as subproject, unity headers, static library and pkg config files are installed by `meson install`. This can be fixed by using `meson install --skip-subprojects`, but this must be repeated in all the distros packaging a project. Fixed by disabling install when building as a subproject. Fixes: #661
18 lines
342 B
Meson
18 lines
342 B
Meson
#
|
|
# build script written by : Michael Gene Brockus.
|
|
# github repo author: Mike Karlesky, Mark VanderVoord, Greg Williams.
|
|
#
|
|
# license: MIT
|
|
#
|
|
|
|
unity_inc += include_directories('.')
|
|
unity_src += files('unity.c')
|
|
|
|
if not meson.is_subproject()
|
|
install_headers(
|
|
'unity.h',
|
|
'unity_internals.h',
|
|
subdir: meson.project_name()
|
|
)
|
|
endif
|