diff --git a/lib/googletest-1.10.x/googletest/cmake/internal_utils.cmake b/lib/googletest-1.10.x/googletest/cmake/internal_utils.cmake index c2a431dc00bb..4c987319dcda 100644 --- a/lib/googletest-1.10.x/googletest/cmake/internal_utils.cmake +++ b/lib/googletest-1.10.x/googletest/cmake/internal_utils.cmake @@ -76,7 +76,7 @@ macro(config_compiler_and_linker) if (MSVC) # Newlines inside flags variables break CMake's NMake generator. # TODO(vladl@google.com): Add -RTCs and -RTCu to debug builds. - set(cxx_base_flags "-GS -W4 -WX -wd4251 -wd4275 -nologo -J -Zi") + set(cxx_base_flags "-GS -W4 -WX -wd4251 -wd4275 -nologo -J") set(cxx_base_flags "${cxx_base_flags} -D_UNICODE -DUNICODE -DWIN32 -D_WIN32") set(cxx_base_flags "${cxx_base_flags} -DSTRICT -DWIN32_LEAN_AND_MEAN") set(cxx_exception_flags "-EHsc -D_HAS_EXCEPTIONS=1")