From f00cb43190a7338ca400d165899da87f35b08208 Mon Sep 17 00:00:00 2001 From: Ole Troan Date: Tue, 18 Apr 2023 16:24:53 +0200 Subject: [PATCH] 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 --- src/vpp/CMakeLists.txt | 6 ++++++ 1 file changed, 6 insertions(+) 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 ############################################################################## -- 2.16.6