core: add "cmake3" to the list of cmake candidates

This is useful on CentOS 7, whose "cmake" utility corresponds to version
2.8.12, which is too old for Buildroot.

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>
This commit is contained in:
Carlos Santos 2017-05-07 01:32:21 -03:00 committed by Thomas Petazzoni
parent 914f75f156
commit 5fc47a9f6b

View File

@ -10,7 +10,7 @@
#
BR2_CMAKE_VERSION_MIN = 3.1
BR2_CMAKE_CANDIDATES ?= cmake
BR2_CMAKE_CANDIDATES ?= cmake cmake3
BR2_CMAKE ?= $(call suitable-host-package,cmake,\
$(BR2_CMAKE_VERSION_MIN) $(BR2_CMAKE_CANDIDATES))
ifeq ($(BR2_CMAKE),)