From 32efe897314c52c4f83f5d0723c2fccfcb3f187b Mon Sep 17 00:00:00 2001 From: Joao Matos Date: Thu, 1 Sep 2016 11:32:07 +0100 Subject: [PATCH] Use Premake workspace token instead of builddir to fix builds for dependent projects. --- build/Helpers.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build/Helpers.lua b/build/Helpers.lua index 369b7dc3..0219e13a 100644 --- a/build/Helpers.lua +++ b/build/Helpers.lua @@ -33,7 +33,7 @@ function SafePath(path) end function SetupNativeProject() - location (path.join(builddir, "projects")) + location ("%{wks.location}/projects") local c = configuration "Debug" defines { "DEBUG" } @@ -65,7 +65,7 @@ end function SetupManagedProject() language "C#" - location (path.join(builddir, "projects")) + location ("%{wks.location}/projects") if not os.is("macosx") then local c = configuration { "vs*" }