[CMake] Setting MSVC runtime type on CMake command line?
Osman Zakir
osmanzakir90 at hotmail.com
Sat Jan 12 08:20:45 EST 2019
I tried to set the runtime to static by passing the "-DMSVC_RUNTIME_TYPE=/MT" argument when running CMake, but it generated a warning saying that that option was ignored by the project (Zlib in this case). So what's the correct way to do this?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://cmake.org/pipermail/cmake/attachments/20190112/bfa98981/attachment.html>
More information about the CMake
mailing list