diff --git a/CMakeLists.txt b/CMakeLists.txt index f113a371a8..91bf702d2a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -602,9 +602,9 @@ if(WIN32) endif() if (NOT QUIC_STATIC_LINK_CRT AND NOT QUIC_STATIC_LINK_PARTIAL_CRT) - # We are using dynamic linking. Ensure that only the release version of CRT is used. - message(STATUS "Configuring for release version of dynamically linked CRT") - set(CMAKE_MSVC_RUNTIME_LIBRARY "MultiThreadedDLL") + # We are using dynamic linking. Ensure that only the dynamic CRT is used. + message(STATUS "Configuring for dynamically linked CRT") + set(CMAKE_MSVC_RUNTIME_LIBRARY "MultiThreaded$<$:Debug>DLL") endif() else() #!WIN32