Skip to content

Don't install anything when building as subproject#662

Merged
mvandervoord merged 1 commit intoThrowTheSwitch:masterfrom
nirs:skip-subproject-install
Feb 21, 2023
Merged

Don't install anything when building as subproject#662
mvandervoord merged 1 commit intoThrowTheSwitch:masterfrom
nirs:skip-subproject-install

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