[CMake] How to Switch to Static Runtime on Command Line?

Mateusz Loskot mateusz at loskot.net
Mon Oct 28 07:53:13 EDT 2019


On Mon, 28 Oct 2019 at 12:22, Osman Zakir <osmanzakir90 at hotmail.com> wrote:
>
> And I should do "-DCMAKE_MSVC_RUNTIME_LIBRARY=/MT"

Man, read the docs I pasted!!!
https://cmake.org/cmake/help/v3.15/prop_tgt/MSVC_RUNTIME_LIBRARY.html

Best regards,
-- 
Mateusz Loskot, http://mateusz.loskot.net


More information about the CMake mailing list