mirror of
https://git.sr.ht/~thestr4ng3r/chiaki
synced 2025-08-21 14:03:11 -07:00
Make Borealis GUI more generic to build (#408)
This commit is contained in:
parent
402e7f01ee
commit
4da09f75f3
16 changed files with 168 additions and 167 deletions
|
@ -42,6 +42,11 @@ function(join OUTPUT GLUE)
|
|||
endfunction()
|
||||
|
||||
function (_ffmpeg_find component headername)
|
||||
if(TARGET "FFMPEG::${component}")
|
||||
# already found before
|
||||
return()
|
||||
endif()
|
||||
|
||||
# Try pkg-config first
|
||||
if(PKG_CONFIG_FOUND)
|
||||
pkg_check_modules(FFMPEG_${component} lib${component} IMPORTED_TARGET)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue