-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
zlib 1.3 forces /MD although I build it with /MT on Windows #849
Comments
I think you must set it using this option https://cmake.org/cmake/help/latest/variable/CMAKE_MSVC_RUNTIME_LIBRARY.html. |
Thank you, I will try. I am using my option with all 3rdparties without problem, so it clearly setting the MT correctly, but then it's overridden by MD. |
Hi, I compile my zlib as usual
Starting with 1.3, the integration with my project fails and seems a MT/MD problem.
When compiling 1.3, I see in the log a lot of warnings about overriding my MT with MD.
Tried to diff between my old working 1.2.12 and 1.3 and I could not find yet the problem, thanks.
The text was updated successfully, but these errors were encountered: