diff options
Diffstat (limited to 'cmake/Modules/FindVpp.cmake')
-rw-r--r-- | cmake/Modules/FindVpp.cmake | 18 |
1 files changed, 16 insertions, 2 deletions
diff --git a/cmake/Modules/FindVpp.cmake b/cmake/Modules/FindVpp.cmake index d29f37339..4f8dba17a 100644 --- a/cmake/Modules/FindVpp.cmake +++ b/cmake/Modules/FindVpp.cmake @@ -71,10 +71,24 @@ find_library(VPP_LIBRARY_VPPAPICLIENT NAMES vppapiclient HINTS ${VPP_SEARCH_PATH_LIST} PATH_SUFFIXES lib lib64 - DOC "Find the Vpp vlib library" + DOC "Find the Vpp api library" +) + +find_library(VPP_LIBRARY_VAPICLIENT + NAMES vapiclient + HINTS ${VPP_SEARCH_PATH_LIST} + PATH_SUFFIXES lib lib64 + DOC "Find the Vpp vapi library" +) + +find_library(VPP_LIBRARY_VLIBMEMORY + NAMES vlibmemory + HINTS ${VPP_SEARCH_PATH_LIST} + PATH_SUFFIXES lib lib64 + DOC "Find the Vpp vlibmemory library" ) -set(VPP_LIBRARIES ${VPP_LIBRARY_MEMORYCLIENT} ${VPP_LIBRARY_SVM} ${VPP_LIBRARY_INFRA} ${VPP_LIBRARY_VATPLUGIN} ${VPP_LIBRARY_VLIB} ${VPP_LIBRARY_VNET}) +set(VPP_LIBRARIES ${VPP_LIBRARY_MEMORYCLIENT} ${VPP_LIBRARY_SVM} ${VPP_LIBRARY_INFRA} ${VPP_LIBRARY_VATPLUGIN} ${VPP_LIBRARY_VLIB} ${VPP_LIBRARY_VNET} ${VPP_LIBRARY_VAPICLIENT} ${VPP_LIBRARY_VLIBMEMORY}) set(VPP_INCLUDE_DIRS ${VPP_INCLUDE_DIR} ${VPP_INCLUDE_DIR}/vpp_plugins) include(FindPackageHandleStandardArgs) |