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

Removed the STATIC key word to enable building a shared library #99

Merged
merged 1 commit into from
Apr 3, 2020
Merged

Removed the STATIC key word to enable building a shared library #99

merged 1 commit into from
Apr 3, 2020

Conversation

mdorier
Copy link
Contributor

@mdorier mdorier commented Apr 2, 2020

The STATIC keyword in cmake's ADD_LIBRARY forces cmake to compile a static library even if the user requests a shared one by setting -DBUILD_SHARED_LIBS=ON. Building a static library is however already the default behavior of cmake, and some platforms need to be able to build a shared library, hence this PR.

@symisc
Copy link
Owner

symisc commented Apr 3, 2020

Thanks!

@mdorier mdorier deleted the enable-shared-lib branch April 3, 2020 18:22
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