From f362052b81179357c5f675138426acf18e8550b7 Mon Sep 17 00:00:00 2001 From: Albert Ziegenhagel Date: Mon, 21 Aug 2017 14:39:52 +0200 Subject: GNUToMS: Tolerate existence of a %USERPROFILE%/source directory The VS environment script we load changes the working directory to `%USERPROFILE%/source` if it exists. Set `VSCMD_START_DIR` to tell the script to retain the current working directory. --- Modules/Platform/GNUtoMS_lib.bat.in | 1 + 1 file changed, 1 insertion(+) diff --git a/Modules/Platform/GNUtoMS_lib.bat.in b/Modules/Platform/GNUtoMS_lib.bat.in index d70aea5..62776f4 100644 --- a/Modules/Platform/GNUtoMS_lib.bat.in +++ b/Modules/Platform/GNUtoMS_lib.bat.in @@ -1,3 +1,4 @@ @echo off +set VSCMD_START_DIR=. call "@CMAKE_GNUtoMS_BAT@" lib /machine:"@CMAKE_GNUtoMS_ARCH@" %* -- cgit v0.12