Update internal_utils.cmake
This commit is contained in:
		
							parent
							
								
									52e12448a8
								
							
						
					
					
						commit
						508b23f964
					
				@ -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.
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user