aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlat9nq <22451773+lat9nq@users.noreply.github.com>2023-05-31 03:59:46 +0000
committerlat9nq <22451773+lat9nq@users.noreply.github.com>2023-05-31 03:59:46 +0000
commita6d8b22805e307dfbef5a2deacd1c78099fa8828 (patch)
tree4946dd8a25a837701268825091da1aabf998644e
parent1a9898fd972a64b7d6bee67280adfd0332c08c7f (diff)
CopyFFmpegDeps: Update variable name
FFmpeg_DLL_DIR does not exist anywhere else in the repository. Evidently, the variable name was antiquated at some point, but it continued to work here as a zombie. Update the name and avoid copy issues.
-rw-r--r--CMakeModules/CopyYuzuFFmpegDeps.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeModules/CopyYuzuFFmpegDeps.cmake b/CMakeModules/CopyYuzuFFmpegDeps.cmake
index 7aaa073ee6..e50696cc02 100644
--- a/CMakeModules/CopyYuzuFFmpegDeps.cmake
+++ b/CMakeModules/CopyYuzuFFmpegDeps.cmake
@@ -6,5 +6,5 @@ function(copy_yuzu_FFmpeg_deps target_dir)
set(DLL_DEST "$<TARGET_FILE_DIR:${target_dir}>/")
file(READ "${FFmpeg_PATH}/requirements.txt" FFmpeg_REQUIRED_DLLS)
string(STRIP "${FFmpeg_REQUIRED_DLLS}" FFmpeg_REQUIRED_DLLS)
- windows_copy_files(${target_dir} ${FFmpeg_DLL_DIR} ${DLL_DEST} ${FFmpeg_REQUIRED_DLLS})
+ windows_copy_files(${target_dir} ${FFmpeg_LIBRARY_DIR} ${DLL_DEST} ${FFmpeg_REQUIRED_DLLS})
endfunction(copy_yuzu_FFmpeg_deps)