Skip to content

Commit

Permalink
set cmakepath only.
Browse files Browse the repository at this point in the history
  • Loading branch information
yowl committed May 21, 2024
1 parent 769bc02 commit de08345
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions eng/pipelines/runtimelab/set-cmake-path.cmd
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
set OLD_PATH=%PATH%
call "%RepoRoot%eng\native\init-vs-env.cmd" wasm || exit /b 1

call set CMakeDir=%%CMakePath:\cmake.exe=%%

echo CMakeDir is %CMakeDir%
echo Setting PATH to %PATH%;%CMakeDir%
echo ##vso[task.setvariable variable=PATH]%PATH%;%CMakeDir%
echo Setting PATH to %OLD_PATH%;%CMakeDir%
echo ##vso[task.setvariable variable=PATH]%OLD_PATH%;%CMakeDir%

0 comments on commit de08345

Please sign in to comment.