-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Disable static library installation by default #702
Conversation
One might have applications using either at the same time, distributions always ship both |
@bluca Are you shure? Why someone need use static and shared libs at the same time?
|
I know that's the aspiration, in reality it's a bit different and users often ask for both - anyhow I don't care that much about the default, as long as there's an option for it |
Where option for it? |
Having a static library installed doesn't make any sense. Static library should only be used during static builds and distributed. We should stick with dynamic library for all systems except windows (mingw)/osx builds. |
Or may be you can add parameter to not build static lib at all? |
Maybe about the static library build we should do something like the nanomsg project https://github.com/nanomsg/nanomsg/blob/master/CMakeLists.txt#L99 |
It would be great. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done.
Thanks |
Static library not needed if shared library installed, isn't it?