core: allow having a list of "cmake" candidates
authorCarlos Santos <casantos@datacom.ind.br>
Sun, 7 May 2017 04:32:20 +0000 (01:32 -0300)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sat, 24 Jun 2017 19:26:15 +0000 (21:26 +0200)
commit914f75f156ad54cbccd41fb25ee1ce656e2b7cde
treeef4b47b770c77b96f70e0c3d4dbc135de6374c30
parentcacc6d0b610f69a6af5f8a5b2af0032964e20973
core: allow having a list of "cmake" candidates

Add the BR2_CMAKE_CANDIDATES variable, containing a list of candidates
to check and use as BR2_CMAKE, if possible.

This allows using "cmake3" on CentOS 7, whose default cmake corresponds
to version 2.8.12. Example:

    $ make BR2_CMAKE_CANDIDATES="cmake cmake3"

Signed-off-by: Carlos Santos <casantos@datacom.ind.br>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
support/dependencies/check-host-cmake.mk