diff --git a/CMakeLists.txt b/CMakeLists.txt index 67c82ac..0673766 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -16,7 +16,7 @@ if (UNIX) endif() if ( MSVC ) #set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /Wall /WX") - set(CMAKE_CXX_FLAGS_RELEASE "/O3 /MD") + set(CMAKE_CXX_FLAGS_RELEASE "/O3 /MT") endif() if(DEFINED ENV{VCPKG_INSTALLATION_ROOT} AND NOT DEFINED CMAKE_TOOLCHAIN_FILE)