Add the DPDK_INCLUDE_DIRS variable which is set by pkg_check_modules
to the include directories to allow use of system DPDK where the
headers aren't under standard include directories.
Type: fix
Fixes:
f15a5791ba870a98a2ab7dec101bbbb9b6e266c1
Change-Id: Ifd4b4170572911b6e0580cdf114ad87cfa771931
Signed-off-by: Robert Shearman <robertshearman@gmail.com>
pkg_check_modules(DPDK REQUIRED libdpdk)
message(WARNING "-- linking dpdk plugin against system libdpdk, version ${DPDK_VERSION}")
set(DPDK_LINK_FLAGS ${DPDK_LDFLAGS})
+ include_directories (${DPDK_INCLUDE_DIRS})
else()
##############################################################################
# Find lib and include files