diff options
Diffstat (limited to 'src/vpp-api')
-rw-r--r-- | src/vpp-api/CMakeLists.txt | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/vpp-api/CMakeLists.txt b/src/vpp-api/CMakeLists.txt index 9a719570c7f..cfabc7151ef 100644 --- a/src/vpp-api/CMakeLists.txt +++ b/src/vpp-api/CMakeLists.txt @@ -15,14 +15,15 @@ # vpp api client library ############################################################################## -add_library (vppapiclient SHARED +add_vpp_library (vppapiclient + SOURCES client/client.c client/libvppapiclient.map + + LINK_LIBRARIES vppinfra vlibmemoryclient svm pthread m rt ) -target_link_libraries(vppapiclient vppinfra vlibmemoryclient svm pthread m rt) add_dependencies(vppapiclient vpp_version_h api_headers) -install(TARGETS vppapiclient DESTINATION lib) -vpp_add_header_files(vpp-api +add_vpp_headers(vpp-api client/vppapiclient.h ) |