vpp: install version.h

To make out of tree plugins require a particular version, they need
access to the version they are built with. Install version.h.

Type: fix
Change-Id: I5916d0a16aed7e054ede452af956fee56cd078f0
Signed-off-by: Ole Troan <ot@cisco.com>
This commit is contained in:
Ole Troan
2023-04-18 16:24:53 +02:00
committed by Ole Tr�an
parent 5811356a40
commit f00cb43190

View File

@ -28,6 +28,12 @@ add_custom_target(vpp_version_h
DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/app/version.h
)
install(
FILES ${CMAKE_CURRENT_BINARY_DIR}/app/version.h
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/vpp/app
COMPONENT vpp-dev
)
##############################################################################
# vpp binary
##############################################################################