diff --git a/CMakeLists.txt b/CMakeLists.txt index 1b65766b..3273367c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -85,8 +85,8 @@ if(WIN32) endif() if(MSVC) - # Enable Multicore Builds - add_definitions(/MP) + # Enable Multicore Builds and disable FH4 (to not depend on VCRUNTIME140_1.DLL) + add_definitions(/MP /d2FH4-) endif() add_definitions(-D_WEBSOCKETPP_CPP11_STL_)