aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBenoît Ganne <bganne@cisco.com>2019-07-25 16:26:20 +0200
committerDave Barach <openvpp@barachs.net>2019-07-25 18:11:45 +0000
commit98438e44c2a9d27f258aa4a177f468bcb66a8c36 (patch)
tree3ba57dc1acc93466ab1c724a490949ace28cdd11
parent5f06632fc700e5f5c72b7238aee3fd84663ddf4f (diff)
build: package .api files in vpp-dev
Type: fix Change-Id: I035ff638d346109e1b3b5e5a8cdd36d650c45e5e Signed-off-by: Benoît Ganne <bganne@cisco.com>
-rw-r--r--src/cmake/library.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmake/library.cmake b/src/cmake/library.cmake
index 18ab8ed55f3..488687c03d8 100644
--- a/src/cmake/library.cmake
+++ b/src/cmake/library.cmake
@@ -47,7 +47,7 @@ macro(add_vpp_library lib)
foreach(file ${ARG_API_FILES})
get_filename_component(dir ${file} DIRECTORY)
install(
- FILES ${CMAKE_CURRENT_BINARY_DIR}/${file}.h
+ FILES ${file} ${CMAKE_CURRENT_BINARY_DIR}/${file}.h
DESTINATION include/${lib}/${dir}
COMPONENT vpp-dev
)