1
0
mirror of https://git.suyu.dev/suyu/suyu synced 2025-09-14 18:17:59 -05:00

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 3ae9258efe
commit 476637d143
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()