From: Ole Troan Date: Tue, 18 Apr 2023 14:24:53 +0000 (+0200) Subject: vpp: install version.h X-Git-Tag: v23.10-rc0~74 X-Git-Url: https://gerrit.fd.io/r/gitweb?a=commitdiff_plain;h=f00cb43190a7338ca400d165899da87f35b08208;p=vpp.git 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 --- diff --git a/src/vpp/CMakeLists.txt b/src/vpp/CMakeLists.txt index 44c1f6d6b11..37f57ac7823 100644 --- a/src/vpp/CMakeLists.txt +++ b/src/vpp/CMakeLists.txt @@ -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 ##############################################################################