diff --git a/CommonCompilerConfig.cmake b/CommonCompilerConfig.cmake index 2a22e26550..6e4a17ebb2 100644 --- a/CommonCompilerConfig.cmake +++ b/CommonCompilerConfig.cmake @@ -171,8 +171,8 @@ if(MSVC) # Release Only: /O2 /Oi /Gy /MD # Debug Only: /Od /Zi /sdl /RTC1 /MDd set(INTERNAL_CXX_FLAGS /permissive- /W3 /Gm- /EHsc /FC /nologo /Zc:__cplusplus - $<$:/O2 /Oi /Gy /GL /MD> - $<$:/Ob0 /Od /Zi /sdl /RTC1 /MDd>) + $<$:/O3 /Oi /Gy /GL /MT> + $<$:/Ob0 /Od /Zi /sdl /RTC1 /MTd>) #linker flags if("${BITNESS}" STREQUAL "32") set(machine "-MACHINE:X86")