coin-or / Clp

COIN-OR Linear Programming Solver
Other
396 stars 82 forks source link

Set RuntimeLibrary (Multithreaded DLL, etc) setting for VS2019 to default for libClp and libOsiClp #161

Closed jhmgoossens closed 4 years ago

jhmgoossens commented 4 years ago

For libClp and libOsiClp, 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 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.