diff options
author | Alberto Compagno <acompagn+fdio@cisco.com> | 2019-04-19 11:38:49 +0200 |
---|---|---|
committer | Alberto Compagno <acompagn+fdio@cisco.com> | 2019-05-03 12:07:41 +0200 |
commit | 98b5448ee9b39f4e92d781d14a27819074e3c1da (patch) | |
tree | e443374985cf6fc499efb2674482334d0bec3f18 /cmake/Modules | |
parent | 305e7617be61d21ebd0dee043588c469bc28ad3b (diff) |
[HICN-180] Updating plugin to run on vpp 19.04
Change-Id: I23d44747edf65b9cbf1cd7cb174541dce55152aa
Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com>
Diffstat (limited to 'cmake/Modules')
-rw-r--r-- | cmake/Modules/FindVpp.cmake | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/cmake/Modules/FindVpp.cmake b/cmake/Modules/FindVpp.cmake index ae11c8019..7d8d16d13 100644 --- a/cmake/Modules/FindVpp.cmake +++ b/cmake/Modules/FindVpp.cmake @@ -60,8 +60,15 @@ find_library(VPP_LIBRARY_VLIB DOC "Find the Vpp vlib library" ) +find_library(VPP_LIBRARY_VPPAPICLIENT + NAMES vppapiclient + HINTS ${VPP_SEARCH_PATH_LIST} + PATH_SUFFIXES lib lib64 + 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_INCLUDE_DIRS ${VPP_INCLUDE_DIR} ${VPP_INCLUDE_DIR}/vpp_plugins) include(FindPackageHandleStandardArgs) -find_package_handle_standard_args(Vpp DEFAULT_MSG VPP_LIBRARIES VPP_INCLUDE_DIRS)
\ No newline at end of file +find_package_handle_standard_args(Vpp DEFAULT_MSG VPP_LIBRARIES VPP_INCLUDE_DIRS) |