Pull requests / #2517

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

open · @zacaj · 0 comments · View on GitHub

Setup & install

Description

## 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`

Related on this site

Quick links to related pages.