api: export ip_types.api for out-of-tree plugins
Out-of-tree plugins can refer to IP types in their API. The .api and
associated headers must be exported.
Change-Id: I75004343b040defd9eebac6a8a95c2ecf3c8079a
Signed-off-by: Benoît Ganne <bganne@cisco.com>
diff --git a/src/vnet/CMakeLists.txt b/src/vnet/CMakeLists.txt
index 89d46a1..1940abe 100644
--- a/src/vnet/CMakeLists.txt
+++ b/src/vnet/CMakeLists.txt
@@ -58,6 +58,7 @@
interface_funcs.h
ip/ip4_to_ip6.h
ip/ip6_to_ip4.h
+ ip/ip_types_api.h
l3_types.h
plugin/plugin.h
pipeline.h
@@ -68,7 +69,10 @@
util/refcount.h
)
-list(APPEND VNET_API_FILES interface.api)
+list(APPEND VNET_API_FILES
+ interface.api
+ ip/ip_types.api
+)
##############################################################################
# Policer infra