Skip to content
This repository was archived by the owner on Jan 23, 2023. It is now read-only.

Commit 7b4e301

Browse files
committed
ARM64: Prepend toolset path
Currently ARM64 build requires a plain CMD environment which often causes a trouble when we use a different CMD or other native tools are in the path. The fix is to simply prepend the tool path instead of appending it.
1 parent 8417eff commit 7b4e301

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build.cmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -682,7 +682,7 @@ if /i "%__ToolsetDir%" == "" (
682682
exit /b 1
683683
)
684684

685-
set PATH=%PATH%;%__ToolsetDir%\cpp\bin
685+
set PATH=%__ToolsetDir%\cpp\bin;%PATH%
686686
set LIB=%__ToolsetDir%\OS\lib;%__ToolsetDir%\cpp\lib
687687
set INCLUDE=^
688688
%__ToolsetDir%\cpp\inc;^

0 commit comments

Comments
 (0)