mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-09-25 04:09:36 +03:00
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.
This commit is contained in:
committed by
Brad King
parent
ebe436eb97
commit
f362052b81
@@ -1,3 +1,4 @@
|
||||
@echo off
|
||||
set VSCMD_START_DIR=.
|
||||
call "@CMAKE_GNUtoMS_BAT@"
|
||||
lib /machine:"@CMAKE_GNUtoMS_ARCH@" %*
|
||||
|
||||
Reference in New Issue
Block a user