mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-21 07:18:33 -05:00
Merge topic 'ninja-tool'
feb5cb8d9d Ninja: Prefer first ninja tool available in PATH
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4091
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
ninja-tool
|
||||
----------
|
||||
|
||||
* The :generator:`Ninja` generator now prefers the first ninja build
|
||||
tool to appear in the ``PATH`` no matter whether it is called
|
||||
``ninja-build``, ``ninja``, or ``samu``. Previously the first
|
||||
of those names to appear anywhere in the ``PATH`` would be preferred.
|
||||
@@ -4,5 +4,6 @@
|
||||
|
||||
find_program(CMAKE_MAKE_PROGRAM
|
||||
NAMES ninja-build ninja samu
|
||||
NAMES_PER_DIR
|
||||
DOC "Program used to build from build.ninja files.")
|
||||
mark_as_advanced(CMAKE_MAKE_PROGRAM)
|
||||
|
||||
Reference in New Issue
Block a user