Add dav1d dependency to external_ffmpeg
This commit is contained in:
		
							parent
							
								
									af37d955bb
								
							
						
					
					
						commit
						bb07e9d698
					
				
					 1 changed files with 12 additions and 3 deletions
				
			
		
							
								
								
									
										15
									
								
								external/ffmpeg/CMakeLists.txt
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										15
									
								
								external/ffmpeg/CMakeLists.txt
									
										
									
									
										vendored
									
									
								
							|  | @ -60,10 +60,19 @@ list(APPEND ffmpeg_lib_list | ||||||
|     $<TARGET_FILE:desktop-app::external_vpx> |     $<TARGET_FILE:desktop-app::external_vpx> | ||||||
| ) | ) | ||||||
| 
 | 
 | ||||||
| if (APPLE) | if (WIN32) | ||||||
|     list(APPEND ffmpeg_lib_list bz2) |     list(APPEND ffmpeg_lib_list | ||||||
|  |         ${libs_loc}/dav1d/builddir-$<IF:$<CONFIG:Debug>,debug,release>/src/libdav1d.a | ||||||
|  |     ) | ||||||
|  | elseif (APPLE) | ||||||
|  |     list(APPEND ffmpeg_lib_list | ||||||
|  |         bz2 | ||||||
|  |     ) | ||||||
| elseif (LINUX) | elseif (LINUX) | ||||||
|     list(APPEND ffmpeg_lib_list -llzma) |     list(APPEND ffmpeg_lib_list | ||||||
|  |         -ldav1d | ||||||
|  |         -llzma | ||||||
|  |     ) | ||||||
| endif() | endif() | ||||||
| 
 | 
 | ||||||
| # Workaround cmake's random order on Linux... | # Workaround cmake's random order on Linux... | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		
		Reference in a new issue
	
	 Ilya Fedin
						Ilya Fedin