diff --git a/premake5.lua b/premake5.lua index 24767750..d676a3b0 100644 --- a/premake5.lua +++ b/premake5.lua @@ -106,7 +106,7 @@ workspace "iw4x" if _OPTIONS["copy-to"] then saneCopyToPath = string.gsub(_OPTIONS["copy-to"] .. "\\", "\\\\", "\\") postbuildcommands { - "copy /y \"$(TargetPath)\" \"" .. saneCopyToPath .. "\"" + "{COPY} \"$(TargetDir)*.dll\" \"" .. saneCopyToPath .. "\"" } end