From 01015e5cbbd77894164a0823331ddade86f10274 Mon Sep 17 00:00:00 2001 From: Matt Mitchell Date: Mon, 2 Feb 2015 13:56:58 -0800 Subject: [PATCH] Builds should work from non-root directories --- build.cmd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.cmd b/build.cmd index 4e169abd1d87..a8c6e9199dc8 100644 --- a/build.cmd +++ b/build.cmd @@ -6,7 +6,7 @@ set __BuildArch=x64 set __BuildType=debug :: Set the various build properties here so that CMake and MSBuild can pick them up -set __ProjectDir=%CD% +set __ProjectDir=%~dp0 set __ProjectFilesDir=%~dp0 set __SourceDir=%__ProjectDir%\src set __PackagesDir=%__SourceDir%\.nuget