Skip to content

Conversation

Tachi107
Copy link
Contributor

@Tachi107 Tachi107 commented Sep 21, 2021

What does this change do?

Prevents the headers and pkg-config file from being installed when the library is used as a subproject.
Another possible approach would be to add a new option for disabling installation, but I don't see how installing a header-only library with the final executable would be useful (headers are only useful for development).

Is it related to an exisiting bug report or feature request?

Nope, I directly created a PR instead of creating an issue and fixing it myself.

Pre-merge checklist

  • I've read CONTRIBUTING.md
  • I've rebased my changes against the current HEAD of origin/master (if necessary)
  • I've added new test cases to verify my change (not necessary)
  • I've regenerated toml.hpp (not necessary)
  • I've updated any affected documentation (not necessary)
  • I've rebuilt and run the tests with at least one of: (not necessary)
    • Clang 6 or higher
    • GCC 7 or higher
    • MSVC 19.20 (Visual Studio 2019) or higher
  • I've added my name to the list of contributors in README.md (small change, I don't deserve it)

@marzer marzer merged commit 6bfdc14 into marzer:master Sep 21, 2021
@marzer
Copy link
Owner

marzer commented Sep 21, 2021

Ah, good catch! Thanks for your contribution.

@Tachi107 Tachi107 deleted the meson-small-improvements branch September 21, 2021 14:02
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.

2 participants