mirror of
https://github.com/Kitware/CMake.git
synced 2026-03-18 09:50:35 -05:00
Extend the change from commit e01990999a (Ninja: On Windows, select the
compiler occurring first in PATH, 2020-04-17, v3.18.0-rc1~291^2) to
apply to the MSYS/MinGW Makefiles generators too. Drop the implied
`gcc` and `g++` default compilers. This allows MinGW/Clang environments
to work out of the box.
Inspired-by: Mehdi Chinoune <mehdi.chinoune@hotmail.com>
Fixes: #23542
8 lines
281 B
ReStructuredText
8 lines
281 B
ReStructuredText
mingw-compiler-PATH
|
|
-------------------
|
|
|
|
* The :generator:`MSYS Makefiles` and :generator:`MinGW Makefiles`
|
|
generators, when a compiler is not explicitly specified, now select
|
|
the first compiler (of any name) found in directories listed by the
|
|
``PATH`` environment variable.
|