.bam/functions.lua: use paths.examples in BuildExample() to get the correct path.
This commit is contained in:
parent
6a84af227c
commit
54805c07f4
1 changed files with 1 additions and 1 deletions
|
|
@ -83,7 +83,7 @@ function BuildExample(settings, name, dependencies)
|
||||||
|
|
||||||
Import("examples/" .. name .. "/bam.lua")
|
Import("examples/" .. name .. "/bam.lua")
|
||||||
|
|
||||||
exe = Link(settings, "examples/" .. name, Compile(settings, src))
|
exe = Link(settings, PathJoin(paths.examples, name), Compile(settings, src))
|
||||||
|
|
||||||
if dependencies ~= nil and #dependencies > 0 then
|
if dependencies ~= nil and #dependencies > 0 then
|
||||||
AddDependency(exe, dependencies)
|
AddDependency(exe, dependencies)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue