mirror of
				https://github.com/Z3Prover/z3
				synced 2025-11-04 13:29:11 +00:00 
			
		
		
		
	Fixed VS 2017 platform toolset version in .vcxproj
This commit is contained in:
		
							parent
							
								
									284436aa5a
								
							
						
					
					
						commit
						46791047fa
					
				
					 1 changed files with 5 additions and 1 deletions
				
			
		| 
						 | 
					@ -2958,6 +2958,10 @@ def get_platform_toolset_str():
 | 
				
			||||||
    tokens = lline.split('.')
 | 
					    tokens = lline.split('.')
 | 
				
			||||||
    if len(tokens) < 2:
 | 
					    if len(tokens) < 2:
 | 
				
			||||||
        return default
 | 
					        return default
 | 
				
			||||||
 | 
					    else:
 | 
				
			||||||
 | 
					        if tokens[0] == "15": 
 | 
				
			||||||
 | 
					            # Visual Studio 2017 reports 15.* but the PlatformToolsetVersion is 141
 | 
				
			||||||
 | 
					            return "v141"
 | 
				
			||||||
        else:
 | 
					        else:
 | 
				
			||||||
            return 'v' + tokens[0] + tokens[1]
 | 
					            return 'v' + tokens[0] + tokens[1]
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue