papi: Use CMSG_SPACE for sizing ancillary buffer space
[vpp.git] / src / vat / CMakeLists.txt
index 2ff9070..e5945b2 100644 (file)
@@ -28,6 +28,12 @@ add_vpp_executable(vpp_api_test ENABLE_EXPORTS
   main.c
   plugin.c
   json_format.c
+  types.c
+  ip_types_api.c
+  ip_types.c
+  protocols.def
+
+  DEPENDS api_headers
 
   LINK_LIBRARIES
   vlibmemoryclient
@@ -35,7 +41,7 @@ add_vpp_executable(vpp_api_test ENABLE_EXPORTS
   vatplugin
   vppinfra
   Threads::Threads
-  rt m dl crypto
+  dl
 )
 
 ##############################################################################
@@ -51,7 +57,7 @@ add_vpp_executable(vpp_json_test ENABLE_EXPORTS NO_INSTALL
 ##############################################################################
 install(
   FILES vat.h json_format.h
-  DESTINATION include/vat
+  DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/vat
   COMPONENT vpp-dev
 )
 
@@ -62,4 +68,3 @@ add_vpp_executable(vpp_restart
   SOURCES restart.c
   LINK_LIBRARIES svm svmdb vppinfra Threads::Threads rt
 )
-