X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=src%2Fvpp%2FCMakeLists.txt;h=32f702de36de06e59221b28931d8486aafa4b3ec;hb=248210c6c;hp=3b466599ffa740ba3a8ae1e843aa6c2e4b5d0d9b;hpb=abfe365ef66e8868dcfce1e34e48c74dbe8f092b;p=vpp.git diff --git a/src/vpp/CMakeLists.txt b/src/vpp/CMakeLists.txt index 3b466599ffa..32f702de36d 100644 --- a/src/vpp/CMakeLists.txt +++ b/src/vpp/CMakeLists.txt @@ -51,7 +51,7 @@ foreach(file ${VPP_API_FILES}) FILES ${CMAKE_CURRENT_BINARY_DIR}/${file}.h ${CMAKE_CURRENT_BINARY_DIR}/${file}_enum.h ${CMAKE_CURRENT_BINARY_DIR}/${file}_types.h - DESTINATION include/vpp/${dir} + DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/vpp/${dir} COMPONENT vpp-dev ) endforeach() @@ -73,8 +73,6 @@ if(VPP_API_TEST_BUILTIN) api/api_main.c api/plugin.c api/types.c - ../vnet/arp/arp_test.c - ../vnet/ip/ip_test.c ) add_definitions(-DVPP_API_TEST_BUILTIN=1) endif() @@ -133,8 +131,8 @@ add_vpp_library(vppmem_preload LINK_LIBRARIES vppinfra ) -install(FILES conf/startup.conf DESTINATION etc/vpp COMPONENT vpp) -install(FILES conf/80-vpp.conf DESTINATION etc/sysctl.d COMPONENT vpp) +install(FILES conf/startup.conf DESTINATION ${CMAKE_INSTALL_SYSCONFDIR}/vpp COMPONENT vpp) +install(FILES conf/80-vpp.conf DESTINATION ${CMAKE_INSTALL_SYSCONFDIR}/sysctl.d COMPONENT vpp) ############################################################################## # VAT2 plugins