mirror of
https://git.sr.ht/~thestr4ng3r/chiaki
synced 2025-08-14 10:46:51 -07:00
FFMPEG vars fix
This commit is contained in:
parent
63d6006d59
commit
d89b57cee0
2 changed files with 8 additions and 2 deletions
|
@ -210,9 +210,13 @@ if (FFMPEG_INCLUDE_DIRS)
|
|||
list(REMOVE_DUPLICATES FFMPEG_INCLUDE_DIRS)
|
||||
endif ()
|
||||
|
||||
if(_ffmpeg_required_vars)
|
||||
set(_ffmpeg_required_vars REQUIRED_VARS ${_ffmpeg_required_vars})
|
||||
endif()
|
||||
|
||||
include(FindPackageHandleStandardArgs)
|
||||
find_package_handle_standard_args(FFMPEG
|
||||
REQUIRED_VARS ${_ffmpeg_required_vars}
|
||||
${_ffmpeg_required_vars}
|
||||
VERSION_VAR FFMPEG_VERSION
|
||||
HANDLE_COMPONENTS)
|
||||
unset(_ffmpeg_required_vars)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue