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

Export taywee::args #124

Merged
merged 1 commit into from
May 26, 2024
Merged

Export taywee::args #124

merged 1 commit into from
May 26, 2024

Conversation

ArthurSonzogni
Copy link
Contributor

Most of downstream distribution systems prefer using ports rather than fetching anything during the build. FTXUI depends on args via FetchContent. CMake 3.24 support FIND_PACKAGE_ARGS to allow installed packages to override fetch_content.

My problem is that taywee::args is only exported when installed, but only as "args" when used
as a subproject.

This patch exports taywee::args so that the same name can be used in both cases.

Bug:ArthurSonzogni/json-tui#32

Most of downstream distribution systems prefer using ports rather than
fetching anything during the build. FTXUI depends on args via
FetchContent. CMake 3.24 support FIND_PACKAGE_ARGS to allow installed
packages to override fetch_content.

My problem is that `taywee::args` is only exported when installed, but
not directly when used as a subproject.

This patch exports `taywee::args` so that the same name can be used in
both cases.

Bug:ArthurSonzogni/json-tui#32
@Taywee
Copy link
Owner

Taywee commented May 26, 2024

Looks completely reasonable to me.

@Taywee Taywee merged commit cc2368c into Taywee:master May 26, 2024
@ArthurSonzogni
Copy link
Contributor Author

Thanks!

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