Unverified Commit e17907da authored by bryanzim's avatar bryanzim Committed by GitHub
Browse files

Update internal_utils.cmake

parent 773cc787
......@@ -62,8 +62,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.
# -J does not set path correctly for pdb with spaces
set(cxx_base_flags "-GS -W4 -WX -wd4251 -wd4275 -nologo -Zi")
set(cxx_base_flags "-GS -W4 -WX -wd4251 -wd4275 -nologo -J -Zi")
if (MSVC_VERSION LESS 1400) # 1400 is Visual Studio 2005
# Suppress spurious warnings MSVC 7.1 sometimes issues.
# Forcing value to bool.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment