yaml-cpp: requires boost
authorFabio Porcedda <fabio.porcedda@gmail.com>
Sat, 28 Mar 2015 19:34:32 +0000 (20:34 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sun, 29 Mar 2015 11:44:02 +0000 (13:44 +0200)
The Boost C++ library is already selected in the Config.in but it was
missing in the yaml-cpp.mk file.

Fix build failure:
CMake Error at /home/tetsuya/buildroot/br/output/host/usr/share/cmake-3.1/Modules/FindBoost.cmake:1182 (message):
  Unable to find the requested Boost libraries.
<snip>
make: *** [/home/tetsuya/buildroot/br/output/build/yaml-cpp-0.5.1/.stamp_configured] Error 1

Signed-off-by: Fabio Porcedda <fabio.porcedda@gmail.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/yaml-cpp/yaml-cpp.mk

index 5ebdb23f57d17f2c893aca8d7a786698f8a70c91..afc70bd81ba7b97119658ee7ff983c76af201694 100644 (file)
@@ -10,4 +10,6 @@ YAML_CPP_INSTALL_STAGING = YES
 YAML_CPP_LICENSE = MIT
 YAML_CPP_LICENSE_FILES = license.txt
 
+YAML_CPP_DEPENDENCIES = boost
+
 $(eval $(cmake-package))