mirror of
https://github.com/godotengine/buildroot.git
synced 2026-01-05 14:09:53 +03:00
Fixes: http://autobuild.buildroot.net/results/871/8717612ae32cc491b868f37fbbc960c16b562877/ Since the security bump to gerbera 1.6.4, gerbera now needs cmake 3.14+, whereas Buildroot currently enforces 3.10+. As a fix, bump the requirement to 3.14+ when gerbera is enabled. Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
20 lines
628 B
Makefile
20 lines
628 B
Makefile
# Set this to either 3.10 or higher, depending on the highest minimum
|
|
# version required by any of the packages bundled in Buildroot. If a
|
|
# package is bumped or a new one added, and it requires a higher
|
|
# version, our cmake infra will catch it and build its own.
|
|
#
|
|
ifeq ($(BR2_PACKAGE_GERBERA),y)
|
|
# gerbera needs 3.14+
|
|
BR2_CMAKE_VERSION_MIN = 3.14
|
|
else
|
|
BR2_CMAKE_VERSION_MIN = 3.10
|
|
endif
|
|
|
|
BR2_CMAKE_CANDIDATES ?= cmake cmake3
|
|
BR2_CMAKE ?= $(call suitable-host-package,cmake,\
|
|
$(BR2_CMAKE_VERSION_MIN) $(BR2_CMAKE_CANDIDATES))
|
|
ifeq ($(BR2_CMAKE),)
|
|
BR2_CMAKE = $(HOST_DIR)/bin/cmake
|
|
BR2_CMAKE_HOST_DEPENDENCY = host-cmake
|
|
endif
|