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

Set RuntimeLibrary (Multithreaded DLL, etc) setting for VS2019 to default for libCgl #54

Merged
merged 1 commit into from
Sep 10, 2020

Conversation

jhmgoossens
Copy link
Contributor

For libCgl this PR sets RuntimeLibrary (Multithreaded DLL, etc. --how to link in the Microsoft Run-Time library MSVCRT / LIBCMT) for VS2019 to default values for all configurations by removing explicit values.

All Debug configs (Config -> C/C++ -> Code Generation) were at defaults, but Release were various, leading to link errors when linking multiple libraries together. These conflicts are prevented if all simply use the default (Multithreaded DLL (Debug or Release)). This has nothing to do with the result of the Configuration Type (static lib, dll, exe, etc.), but only how the MS runtimes are linked.

@svigerske svigerske merged commit d3d59fc into coin-or:master Sep 10, 2020
@jhmgoossens jhmgoossens deleted the dev-runtimelibrary branch March 10, 2023 18:41
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