Commit 2989b9e
committed
Win32: Make SolveSpace grea...static again
For some reason the /MT options in the `CMAKE_C_FLAGS_RELEASE_INIT` etc.
CMake targets stopped working at some point and SolveSpace became linked to
the DLL versions of the C/C++ runtime (MSVCP140.DLL, VCRUNTIME140.DLL).
We do not like this. Therefore:
Use the proper "modern" CMake incantation to make SolveSpace static again ;-)
https://cmake.org/cmake/help/latest/prop_tgt/MSVC_RUNTIME_LIBRARY.html
The OpenMP build still depends on VCOMP140.DLL but this seems unavoidable.
https://stackoverflow.com/questions/37037733/statically-link-with-microsoft-crt-and-openmp
godotengine/godot#149351 parent 0df1ba7 commit 2989b9e
1 file changed
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| 6 | + | |
6 | 7 | | |
7 | 8 | | |
8 | 9 | | |
| |||
0 commit comments