Added the option to statically link against the MSVC runtime library …#17
Added the option to statically link against the MSVC runtime library …#17cjserio wants to merge 2 commits into
Conversation
…by using the -DSTATIC_RUNTIME=ON argument passed to the cmake generator command.
|
Hi, CMake introduced this feature in version 3.15 Then you can either set the global CMake variable By setting either of those to IMO there is rarely a need to fiddle with low-level compiler flags / compiler options when using CMake PS: I tried doing the above in the CMakeLists.txt of this repo, and it worked on the first try. |
|
@KrzaQ WDYT? |
|
I think I need to educate myself about this before offering an opinion. I expect I'll have the time to look at this next week. |
…by using the -DSTATIC_RUNTIME=ON argument passed to the cmake generator command.