vapi: support api clients within vpp process
[vpp.git] / src / plugins / unittest / CMakeLists.txt
index 34e47fa..faf55df 100644 (file)
@@ -15,9 +15,10 @@ set(chacha20_poly1305)
 if (OPENSSL_VERSION VERSION_GREATER_EQUAL 1.1.0)
     set(chacha20_poly1305 crypto/chacha20_poly1305.c)
 endif()
-
+include_directories(${CMAKE_SOURCE_DIR}/vpp-api ${CMAKE_CURRENT_BINARY_DIR}/../../vpp-api)
 add_vpp_plugin(unittest
   SOURCES
+  api_test.c
   api_fuzz_test.c
   bier_test.c
   bihash_test.c
@@ -60,4 +61,5 @@ add_vpp_plugin(unittest
 
   COMPONENT
   vpp-plugin-devtools
+  LINK_LIBRARIES vapiclient
 )