mirror of
				https://github.com/PabloMK7/citra.git
				synced 2025-10-31 05:40:04 +00:00 
			
		
		
		
	CMake: Use IMPORTED target for libpng
This commit is contained in:
		
							parent
							
								
									01ebb65c30
								
							
						
					
					
						commit
						4660bc1c78
					
				
					 2 changed files with 5 additions and 8 deletions
				
			
		|  | @ -87,7 +87,6 @@ if (ARCHITECTURE_x86_64) | |||
| endif() | ||||
| 
 | ||||
| if (PNG_FOUND) | ||||
|     target_link_libraries(video_core PRIVATE ${PNG_LIBRARIES}) | ||||
|     target_include_directories(video_core PRIVATE ${PNG_INCLUDE_DIRS}) | ||||
|     target_compile_definitions(video_core PRIVATE ${PNG_DEFINITIONS}) | ||||
|     target_link_libraries(video_core PRIVATE PNG::PNG) | ||||
|     target_compile_definitions(video_core PRIVATE HAVE_PNG) | ||||
| endif() | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue