mirror of
				https://github.com/ciphervance/supercell-wx.git
				synced 2025-10-31 01:30:05 +00:00 
			
		
		
		
	Use -D instead of /D for MSVC compiler definitions
- No effect with MSVC - Resource compiler (supercell-wx target) fails with /D
This commit is contained in:
		
							parent
							
								
									d5222eac63
								
							
						
					
					
						commit
						9481bc6e61
					
				
					 2 changed files with 3 additions and 3 deletions
				
			
		|  | @ -464,8 +464,8 @@ target_compile_options(supercell-wx PRIVATE | |||
| 
 | ||||
| if (MSVC) | ||||
|     # Don't include Windows macros | ||||
|     target_compile_options(scwx-qt PRIVATE /D "NOMINMAX") | ||||
|     target_compile_options(supercell-wx PRIVATE /D "NOMINMAX") | ||||
|     target_compile_options(scwx-qt PRIVATE -DNOMINMAX) | ||||
|     target_compile_options(supercell-wx PRIVATE -DNOMINMAX) | ||||
| 
 | ||||
|     # Enable multi-processor compilation | ||||
|     target_compile_options(scwx-qt PRIVATE "/MP") | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Dan Paulat
						Dan Paulat