summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/cmake/plugin.cmake2
-rw-r--r--src/vpp/CMakeLists.txt2
2 files changed, 4 insertions, 0 deletions
diff --git a/src/cmake/plugin.cmake b/src/cmake/plugin.cmake
index b18f337f218..a0c3de78f3c 100644
--- a/src/cmake/plugin.cmake
+++ b/src/cmake/plugin.cmake
@@ -39,6 +39,8 @@ macro(add_vpp_plugin name)
set_property(GLOBAL APPEND PROPERTY VPP_API_FILES ${rpath}/${f})
install(
FILES ${CMAKE_CURRENT_BINARY_DIR}/${f}.h
+ ${CMAKE_CURRENT_BINARY_DIR}/${f}_enum.h
+ ${CMAKE_CURRENT_BINARY_DIR}/${f}_types.h
DESTINATION include/vpp_plugins/${name}/${dir}
COMPONENT ${PLUGIN_DEV_COMPONENT}
)
diff --git a/src/vpp/CMakeLists.txt b/src/vpp/CMakeLists.txt
index da43b0f7a34..5aaaab729df 100644
--- a/src/vpp/CMakeLists.txt
+++ b/src/vpp/CMakeLists.txt
@@ -44,6 +44,8 @@ foreach(file ${VPP_API_FILES})
get_filename_component(dir ${file} DIRECTORY)
install(
FILES ${CMAKE_CURRENT_BINARY_DIR}/${file}.h
+ ${CMAKE_CURRENT_BINARY_DIR}/${file}_enum.h
+ ${CMAKE_CURRENT_BINARY_DIR}/${file}_types.h
DESTINATION include/vpp/${dir}
COMPONENT vpp-dev
)