externals/ffmpeg: set the cmake variable twice ...

... to avoid leaving variable undefined in the current scope
This commit is contained in:
liushuyu 2021-12-15 00:53:22 -07:00
parent 9885209b9f
commit e962e791eb
2 changed files with 13 additions and 5 deletions

View file

@ -126,4 +126,7 @@ endif()
if (YUZU_USE_BUNDLED_FFMPEG)
add_subdirectory(ffmpeg)
set(FFmpeg_PATH "${FFmpeg_PATH}" PARENT_SCOPE)
set(FFmpeg_LDFLAGS "${FFmpeg_LDFLAGS}" PARENT_SCOPE)
set(FFmpeg_LIBRARIES "${FFmpeg_LIBRARIES}" PARENT_SCOPE)
set(FFmpeg_INCLUDE_DIR "${FFmpeg_INCLUDE_DIR}" PARENT_SCOPE)
endif()