![Jörg Krause](/assets/img/avatar_default.png)
The gmock testing framework uses fork() and therefor yaml-cpp fails to build for a MMU-less targets. Since we are only interested in building the yaml-cpp library we disable the testing and parse tools (command line tools). Fixes: http://autobuild.buildroot.net/results/2ce/2ce3c6d0140696cdf73f2ad1499b779c83ad8f6e/ Cc: Sebastien Bourdelin <sebastien.bourdelin@savoirfairelinux.com> Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
19 lines
510 B
Makefile
19 lines
510 B
Makefile
################################################################################
|
|
#
|
|
# yaml-cpp
|
|
#
|
|
################################################################################
|
|
|
|
YAML_CPP_VERSION = 0.5.2
|
|
YAML_CPP_SITE = $(call github,jbeder,yaml-cpp,release-$(YAML_CPP_VERSION))
|
|
YAML_CPP_INSTALL_STAGING = YES
|
|
YAML_CPP_LICENSE = MIT
|
|
YAML_CPP_LICENSE_FILES = license.txt
|
|
|
|
YAML_CPP_DEPENDENCIES = boost
|
|
|
|
# Disable testing and parse tools
|
|
YAML_CPP_CONF_OPTS += -DYAML_CPP_BUILD_TOOLS=OFF
|
|
|
|
$(eval $(cmake-package))
|