summaryrefslogtreecommitdiffstats
path: root/CMakeModules/CopyYuzuSDLDeps.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'CMakeModules/CopyYuzuSDLDeps.cmake')
-rw-r--r--CMakeModules/CopyYuzuSDLDeps.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeModules/CopyYuzuSDLDeps.cmake b/CMakeModules/CopyYuzuSDLDeps.cmake
index 7ffdd8a1d..464eed5e9 100644
--- a/CMakeModules/CopyYuzuSDLDeps.cmake
+++ b/CMakeModules/CopyYuzuSDLDeps.cmake
@@ -3,6 +3,6 @@
function(copy_yuzu_SDL_deps target_dir)
include(WindowsCopyFiles)
- set(DLL_DEST "${CMAKE_BINARY_DIR}/bin/$<CONFIG>/")
+ set(DLL_DEST "$<TARGET_FILE_DIR:${target_dir}>/")
windows_copy_files(${target_dir} ${SDL2_DLL_DIR} ${DLL_DEST} SDL2.dll)
endfunction(copy_yuzu_SDL_deps)