From 527e2e7eb1a96e0a82c02f8d7da6df6d3948b80a Mon Sep 17 00:00:00 2001 From: Damian Meden Date: Fri, 10 Sep 2021 12:32:34 +0100 Subject: [PATCH] Fix yamlcpp include folder by using the YAMLCPP_INCLUDE variable, so if we configure our own version of yamlcpp then the right include files will be picked up. This will avoid mixin up the internal and the configured yamlcpp library --- mgmt/Makefile.am | 2 +- proxy/Makefile.am | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/mgmt/Makefile.am b/mgmt/Makefile.am index 9ad6ea9ae68..b200946a76f 100644 --- a/mgmt/Makefile.am +++ b/mgmt/Makefile.am @@ -34,7 +34,7 @@ AM_CPPFLAGS += \ -I$(abs_top_srcdir)/proxy \ -I$(abs_top_srcdir)/proxy/http \ -I$(abs_top_srcdir)/proxy/hdrs \ - -I$(abs_top_srcdir)/lib/yamlcpp/include \ + @YAMLCPP_INCLUDES@ \ $(TS_INCLUDES) libmgmt_c_la_SOURCES = \ diff --git a/proxy/Makefile.am b/proxy/Makefile.am index 4eec154f2bc..2c73d3100c7 100644 --- a/proxy/Makefile.am +++ b/proxy/Makefile.am @@ -39,7 +39,7 @@ AM_CPPFLAGS += \ -I$(abs_srcdir)/hdrs \ -I$(abs_top_srcdir)/mgmt \ -I$(abs_top_srcdir)/mgmt/utils \ - -I$(abs_top_srcdir)/lib/yamlcpp/include \ + @YAMLCPP_INCLUDES@ \ $(TS_INCLUDES) noinst_HEADERS = \