Use SDL2.dll path relative to script file
Previously this was relative to the output file. This works around a premake5 bug and as a bonus makes it easier if we in the future decide to support out-of-source builds.
This commit is contained in:
parent
7bfd9a1d4c
commit
fe4d4392a6
@ -170,7 +170,7 @@ project "RecastDemo"
|
||||
}
|
||||
postbuildcommands {
|
||||
-- Copy the SDL2 dll to the Bin folder.
|
||||
'{COPY} "%{wks.location}../../Contrib/SDL/lib/%{cfg.architecture:gsub("x86_64", "x64")}/SDL2.dll" "%{cfg.targetdir}"'
|
||||
'{COPY} "%{path.getabsolute("Contrib/SDL/lib/" .. cfg.architecture:gsub("x86_64", "x64") .. "/SDL2.dll")}" "%{cfg.targetdir}"'
|
||||
}
|
||||
|
||||
-- mac includes and libs
|
||||
|
Loading…
x
Reference in New Issue
Block a user