From 7230dea2e395f070dbd8bc78505fd4b707029bb1 Mon Sep 17 00:00:00 2001 From: Jakob Botsch Nielsen Date: Tue, 5 Jan 2016 12:08:27 +0100 Subject: [PATCH] Ensure SDL2.dll is copied for paths with spaces The generated VS project would fail to copy the SDL2.dll file if the solution or Bin path contained spaces. --- RecastDemo/premake5.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/RecastDemo/premake5.lua b/RecastDemo/premake5.lua index 53240a1..02410e8 100644 --- a/RecastDemo/premake5.lua +++ b/RecastDemo/premake5.lua @@ -158,7 +158,7 @@ project "RecastDemo" } postbuildcommands { -- Copy the SDL2 dll to the Bin folder. - "{COPY} %{wks.location}../../Contrib/SDL/lib/x86/SDL2.dll %{cfg.targetdir}" + '{COPY} "%{wks.location}../../Contrib/SDL/lib/x86/SDL2.dll" "%{cfg.targetdir}"' } -- mac includes and libs