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

add option to install or not the static library #665

Closed
wants to merge 1 commit into from

Conversation

remicollet
Copy link

This fixes an issue for downstream distribution, where static libraries are discouraged

For now (v0.10.0) we have to use BUILD_TESTS + BUILD_STATIC_LIBS to be able to run the test suite
and to exclude librabbitmq.a from the package

BUT installed cmake files contain references to the static library, so are (probably) unusable

This trivial fix allow to build but not install the static library, thus cmake files are clean.

@remicollet
Copy link
Author

See #749

@remicollet remicollet closed this Feb 1, 2023
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.

1 participant