diff options
author | Damjan Marion <damarion@cisco.com> | 2018-08-26 18:14:46 +0200 |
---|---|---|
committer | Marco Varlese <marco.varlese@suse.de> | 2018-08-27 12:25:48 +0000 |
commit | 4c64b6edc86f7732f4a160b948b3386e4021a265 (patch) | |
tree | 296a8425f5b5274cf772fa3e62c4c145096a481e /src/cmake/library.cmake | |
parent | 3ce5f914ed6bd78f4b72bb5dfd4be480084094d1 (diff) |
cmake: add vapi build
Change-Id: Id939a0cbe35601478ad262f49bb0a1abdb62aa45
Signed-off-by: Damjan Marion <damarion@cisco.com>
Diffstat (limited to 'src/cmake/library.cmake')
-rw-r--r-- | src/cmake/library.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmake/library.cmake b/src/cmake/library.cmake index 6aa0ae848f9..9ed53e9dba7 100644 --- a/src/cmake/library.cmake +++ b/src/cmake/library.cmake @@ -33,7 +33,7 @@ macro(add_vpp_library lib) endif() if(ARG_API_FILES) - vpp_add_api_files(${lib}_api_headers ${ARG_API_FILES}) + vpp_add_api_files(${lib} ${ARG_API_FILES}) foreach(file ${ARG_API_FILES}) get_filename_component(dir ${file} DIRECTORY) install(FILES ${CMAKE_CURRENT_BINARY_DIR}/${file}.h DESTINATION include/${lib}/${dir}) |