From 5c9da0cca63572d56452e45aa2b37c7d88267cab Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Rapha=C3=ABl=20Lallement?= <raphael.lallement@laas.fr>
Date: Mon, 30 Nov 2015 22:25:20 +0100
Subject: [PATCH] [wip/hatponboard-lib] Fix compilation issue

A dependency to msgconnector has been added some time ago when adding
an intermediate layer but the Makefile did not reflect this change.
---
 hatponboard-lib/Makefile | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/hatponboard-lib/Makefile b/hatponboard-lib/Makefile
index 31e9b6f2..c653097b 100644
--- a/hatponboard-lib/Makefile
+++ b/hatponboard-lib/Makefile
@@ -38,6 +38,10 @@ endef
 # Find Antlr binary name and pass it to CMake 
 CMAKE_ARGS+= -DAntlr_INCLUDE=${ANTLR_INCLUDE} -DAntlr_BIN=${ANTLR_BIN} -DAntlr_LIB=${ANTLR_LIB}
 
+# Pass the option to find msgconnector
+CMAKE_ARGS+= -DCMAKE_MODULE_PATH=${PREFIX.msgconnector}/share/cmake/Modules
+
+include ../../wip/msgconnector/depend.mk
 include ../../devel/boost-headers/depend.mk
 include ../../devel/boost-libs/depend.mk
 include ../../wip/antlr2/depend.mk
-- 
GitLab