mirror of
				https://github.com/PabloMK7/citra.git
				synced 2025-10-30 21:30:04 +00:00 
			
		
		
		
	externals: allow user to use system lodepng (#7138)
This commit is contained in:
		
							parent
							
								
									ee372572a6
								
							
						
					
					
						commit
						fcc0fd671a
					
				
					 3 changed files with 41 additions and 1 deletions
				
			
		
							
								
								
									
										8
									
								
								externals/CMakeLists.txt
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										8
									
								
								externals/CMakeLists.txt
									
										
									
									
										vendored
									
									
								
							|  | @ -327,7 +327,13 @@ if (ENABLE_WEB_SERVICE) | |||
| endif() | ||||
| 
 | ||||
| # lodepng | ||||
| add_subdirectory(lodepng) | ||||
| if(USE_SYSTEM_LODEPNG) | ||||
|     add_library(lodepng INTERFACE) | ||||
|     find_package(lodepng REQUIRED) | ||||
|     target_link_libraries(lodepng INTERFACE lodepng::lodepng) | ||||
| else() | ||||
|     add_subdirectory(lodepng) | ||||
| endif() | ||||
| 
 | ||||
| # (xperia64): Only use libyuv on Android b/c of build issues on Windows and mandatory JPEG | ||||
| if(ANDROID) | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue