diff options
author | Ole Troan <ot@cisco.com> | 2023-04-18 16:24:53 +0200 |
---|---|---|
committer | Ole Tr�an <otroan@employees.org> | 2023-04-18 20:18:24 +0000 |
commit | f00cb43190a7338ca400d165899da87f35b08208 (patch) | |
tree | 6c782a08328e1364a3bb1c1d90c72af83a919cfd /src | |
parent | 5811356a40e9637a761fd633cc6e38141a91716b (diff) |
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>
Diffstat (limited to 'src')
-rw-r--r-- | src/vpp/CMakeLists.txt | 6 |
1 files changed, 6 insertions, 0 deletions
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 ############################################################################## |