premake5: Don't use cross-platform {COPY} token as it generates a faulty condition.
This commit is contained in:
parent
2618fc506a
commit
d81ed71f2a
@ -112,7 +112,7 @@ workspace "iw4x"
|
|||||||
if _OPTIONS["copy-to"] then
|
if _OPTIONS["copy-to"] then
|
||||||
saneCopyToPath = string.gsub(_OPTIONS["copy-to"] .. "\\", "\\\\", "\\")
|
saneCopyToPath = string.gsub(_OPTIONS["copy-to"] .. "\\", "\\\\", "\\")
|
||||||
postbuildcommands {
|
postbuildcommands {
|
||||||
"{COPY} \"$(TargetDir)*.dll\" \"" .. saneCopyToPath .. "\""
|
"copy /y \"$(TargetDir)*.dll\" \"" .. saneCopyToPath .. "\""
|
||||||
}
|
}
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user