改动 / #2517

#2517 setup: prefer the cmake/ninja in venv over one on regular PATH

open · @zacaj · 0 评论 · 去 GitHub 看

Setup & install

说明

## Summary
find_tool used the first cmake on PATH that ran, so if the user already had cmake installed, it'd use that even though setup pip-installs its own into .venv, which can cause problems if it's not a compatible version.

## What changed
Check for a binary in the local venv Scripts/ folder before checking trying `which`

本站相关内容

相关页面的快捷入口。