Skip to content

Conversation

Alovchin91
Copy link

Currently, static CRT compilation doesn't work, because /NODEFAULTLIB:MSVCRT(D) simply leaves a number of unresolved external references behind.

#628 has upgraded CMake to version 3.29 which enables the use of CMAKE_MSVC_RUNTIME_LIBRARY. That makes static CRT use much easier, so we can take advantage of this.

I've also downgraded CMake slightly to version 3.28 so that it can be compiled with the version shipped with Visual C++ Build Tools 17.10 LTS.

/cc @msftrubengu

Use CMake 3.28 for compatibility with MSVC 17.10 LTS
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant