mirror of
				https://github.com/ciphervance/supercell-wx.git
				synced 2025-10-31 06:10:04 +00:00 
			
		
		
		
	Enable multi-processor compilation for maplibre
This commit is contained in:
		
							parent
							
								
									685f3cee10
								
							
						
					
					
						commit
						e9ee5c6911
					
				
					 1 changed files with 11 additions and 0 deletions
				
			
		
							
								
								
									
										11
									
								
								external/maplibre-native-qt.cmake
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										11
									
								
								external/maplibre-native-qt.cmake
									
										
									
									
										vendored
									
									
								
							|  | @ -19,6 +19,17 @@ if (MSVC) | ||||||
|     target_link_options(MLNQtCore PRIVATE "$<$<CONFIG:Release>:/DEBUG>") |     target_link_options(MLNQtCore PRIVATE "$<$<CONFIG:Release>:/DEBUG>") | ||||||
|     target_link_options(MLNQtCore PRIVATE "$<$<CONFIG:Release>:/OPT:REF>") |     target_link_options(MLNQtCore PRIVATE "$<$<CONFIG:Release>:/OPT:REF>") | ||||||
|     target_link_options(MLNQtCore PRIVATE "$<$<CONFIG:Release>:/OPT:ICF>") |     target_link_options(MLNQtCore PRIVATE "$<$<CONFIG:Release>:/OPT:ICF>") | ||||||
|  | 
 | ||||||
|  |     # Enable multi-processor compilation | ||||||
|  |     target_compile_options(MLNQtCore PRIVATE "/MP") | ||||||
|  |     target_compile_options(mbgl-core PRIVATE "/MP") | ||||||
|  |     target_compile_options(mbgl-vendor-csscolorparser PRIVATE "/MP") | ||||||
|  |     target_compile_options(mbgl-vendor-nunicode PRIVATE "/MP") | ||||||
|  |     target_compile_options(mbgl-vendor-parsedate PRIVATE "/MP") | ||||||
|  | 
 | ||||||
|  |     if (TARGET mbgl-vendor-sqlite) | ||||||
|  |         target_compile_options(mbgl-vendor-sqlite PRIVATE "/MP") | ||||||
|  |     endif() | ||||||
| else() | else() | ||||||
|     target_compile_options(mbgl-core PRIVATE "$<$<CONFIG:Release>:-g>") |     target_compile_options(mbgl-core PRIVATE "$<$<CONFIG:Release>:-g>") | ||||||
|     target_compile_options(MLNQtCore PRIVATE "$<$<CONFIG:Release>:-g>") |     target_compile_options(MLNQtCore PRIVATE "$<$<CONFIG:Release>:-g>") | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Dan Paulat
						Dan Paulat