-
Notifications
You must be signed in to change notification settings - Fork 147
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
CMake Enhancements #962
CMake Enhancements #962
Conversation
Tested with VS2019 for the option to link to shared library. Somehow the binary will use static link to the dependancies. I think this is the side effects of using external libraries. So it is not a real issue.
|
Under MSYS2 mingw64, this works perfectly fine.
|
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.
Tested under MSYS2 mingw64 and this works fine (both with static or shared dependancy lib linking). And it has fixed #959.
Note that the CMake files now include the option USE_STATIC_LIBS, which people can use to select either static or dynamic linking. Note, however, that I leave the implementation for somebody else in a separate PR. The current implementation will not work for non-defaults, i.e. statically linking for Linux or dynamically on Windows. |
This serves as a bucket for various CMake issues and wishes that came up recently.
I will merge myself.