xref: /OK3568_Linux_fs/buildroot/support/dependencies/check-host-cmake.mk (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1# Set this to either 3.16 or higher, depending on the highest minimum
2# version required by any of the packages bundled in Buildroot. If a
3# package is bumped or a new one added, and it requires a higher
4# version, our cmake infra will catch it and build its own.
5#
6BR2_CMAKE_VERSION_MIN = 3.16
7
8BR2_CMAKE_CANDIDATES ?= cmake cmake3
9BR2_CMAKE ?= $(call suitable-host-package,cmake,\
10	$(BR2_CMAKE_VERSION_MIN) $(BR2_CMAKE_CANDIDATES))
11ifeq ($(BR2_CMAKE),)
12BR2_CMAKE = $(HOST_DIR)/bin/cmake
13BR2_CMAKE_HOST_DEPENDENCY = host-cmake
14endif
15