X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=src%2Fvat%2FCMakeLists.txt;h=d512d9c17305b1472ed5658b9d6b7507117c1573;hb=e26c81f;hp=feb335c0679234d62b7cfe57ff4d7f33eecdab27;hpb=4553c95ab7cac75838433fdd5cd3c0d0c1d6e2e6;p=vpp.git diff --git a/src/vat/CMakeLists.txt b/src/vat/CMakeLists.txt index feb335c0679..d512d9c1730 100644 --- a/src/vat/CMakeLists.txt +++ b/src/vat/CMakeLists.txt @@ -28,6 +28,9 @@ add_vpp_executable(vpp_api_test ENABLE_EXPORTS main.c plugin.c json_format.c + types.c + + DEPENDS api_headers LINK_LIBRARIES vlibmemoryclient @@ -41,7 +44,7 @@ add_vpp_executable(vpp_api_test ENABLE_EXPORTS ############################################################################## # vpp_json_test ############################################################################## -add_vpp_executable(vpp_json_test ENABLE_EXPORTS +add_vpp_executable(vpp_json_test ENABLE_EXPORTS NO_INSTALL SOURCES json_format.c json_test.c LINK_LIBRARIES vppinfra m ) @@ -49,7 +52,11 @@ add_vpp_executable(vpp_json_test ENABLE_EXPORTS ############################################################################## # vat headers ############################################################################## -install(FILES vat.h json_format.h DESTINATION include/vat) +install( + FILES vat.h json_format.h + DESTINATION include/vat + COMPONENT vpp-dev +) ############################################################################## # restart