build: Improvements to bundled libraries support. (#6435)
This commit is contained in:
parent
30bf654d2f
commit
ea649263b7
21 changed files with 255 additions and 114 deletions
5
externals/cmake-modules/FindFFmpeg.cmake
vendored
5
externals/cmake-modules/FindFFmpeg.cmake
vendored
|
@ -152,6 +152,11 @@ foreach(c ${_FFmpeg_ALL_COMPONENTS})
|
|||
IMPORTED_LOCATION ${FFmpeg_LIBRARY_${c}}
|
||||
INTERFACE_INCLUDE_DIRECTORIES ${FFmpeg_INCLUDE_${c}}
|
||||
)
|
||||
if(APPLE)
|
||||
set_target_properties(FFmpeg::${c} PROPERTIES
|
||||
MACOSX_RPATH 1
|
||||
)
|
||||
endif()
|
||||
if(_FFmpeg_DEPS_${c})
|
||||
set(deps)
|
||||
foreach(dep ${_FFmpeg_DEPS_${c}})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue