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 = \