aboutsummaryrefslogtreecommitdiffstats
path: root/src/cmake/library.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmake/library.cmake')
-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
)