Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't install anything when building as subproject #662

Merged
merged 1 commit into from
Feb 21, 2023

Conversation

nirs
Copy link
Contributor

@nirs nirs commented Feb 21, 2023

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

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: ThrowTheSwitch#661
@nirs nirs mentioned this pull request Feb 21, 2023
13 tasks
@mvandervoord mvandervoord merged commit f9879bf into ThrowTheSwitch:master Feb 21, 2023
@nirs nirs deleted the skip-subproject-install branch February 21, 2023 16:23
@nirs nirs mentioned this pull request Feb 21, 2023
@amcnulty-fermat
Copy link
Contributor

My apologies for having caused this issue with my PR. If ever anything I have merged causes difficulties, please ping me and I will work to fix it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Enabling installation by default breaks projects using unity as meson subproject
3 participants