diff --git a/CMakeLists.txt b/CMakeLists.txt index fb335c1f1..f929ee11d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -65,7 +65,7 @@ if( MSVC ) set( ALL_C_FLAGS "/GF /Gy /GR- /fp:fast" ) # Avoid CRT DLL dependancies in release builds - set( REL_C_FLAGS "/MT" ) + set( REL_C_FLAGS "/MT /Oi" ) # Debug allocations in debug builds set( DEB_C_FLAGS "/D _CRTDBG_MAP_ALLOC" )