From ccf813e13eba7b5c71cc3090582f50f25ba7b721 Mon Sep 17 00:00:00 2001 From: Alberto Compagno Date: Thu, 22 Aug 2019 09:48:32 +0200 Subject: [HICN-262] Fix binary api to prevent byteswapping of ip addresses in vapi Change-Id: If3f9a7db1e1310fdc08d1003b28e5e1d4006b61e Signed-off-by: Alberto Compagno --- cmake/Modules/FindVpp.cmake | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'cmake/Modules/FindVpp.cmake') diff --git a/cmake/Modules/FindVpp.cmake b/cmake/Modules/FindVpp.cmake index 7d8d16d13..d29f37339 100644 --- a/cmake/Modules/FindVpp.cmake +++ b/cmake/Modules/FindVpp.cmake @@ -46,6 +46,13 @@ find_library(VPP_LIBRARY_INFRA DOC "Find the Vpp infra library" ) +find_library(VPP_LIBRARY_VNET + NAMES vnet + HINTS ${VPP_SEARCH_PATH_LIST} + PATH_SUFFIXES lib lib64 + DOC "Find the Vpp vnet library" +) + find_library(VPP_LIBRARY_VATPLUGIN NAMES vatplugin HINTS ${VPP_SEARCH_PATH_LIST} @@ -67,7 +74,7 @@ find_library(VPP_LIBRARY_VPPAPICLIENT DOC "Find the Vpp vlib library" ) -set(VPP_LIBRARIES ${VPP_LIBRARY_MEMORYCLIENT} ${VPP_LIBRARY_SVM} ${VPP_LIBRARY_INFRA} ${VPP_LIBRARY_VATPLUGIN} ${VPP_LIBRARY_VLIB}) +set(VPP_LIBRARIES ${VPP_LIBRARY_MEMORYCLIENT} ${VPP_LIBRARY_SVM} ${VPP_LIBRARY_INFRA} ${VPP_LIBRARY_VATPLUGIN} ${VPP_LIBRARY_VLIB} ${VPP_LIBRARY_VNET}) set(VPP_INCLUDE_DIRS ${VPP_INCLUDE_DIR} ${VPP_INCLUDE_DIR}/vpp_plugins) include(FindPackageHandleStandardArgs) -- cgit 1.2.3-korg