aboutsummaryrefslogtreecommitdiffstats
path: root/src/vpp-api
diff options
context:
space:
mode:
authorNick Brown <nickbroon@gmail.com>2021-09-15 14:25:40 +0100
committerDamjan Marion <dmarion@me.com>2021-09-17 20:25:49 +0000
commite3cf4d0cf3b83f912474220ff52dfedc5a432084 (patch)
tree5766e961c148fec0af9063e9adb190b0d82052a2 /src/vpp-api
parent8b997772633f33528ca4f0b702e93dcfc1c24395 (diff)
build: use GNUInstallDirs install destinations
So as to be compliant with distribution layouts, as recommend by: https://cmake.org/cmake/help/latest/command/install.html#installing-files Type: make Change-Id: Ic46ace4f26aab1aa4902cbd013c40a92c480680d Signed-off-by: Nick Brown <nickbroon@gmail.com>
Diffstat (limited to 'src/vpp-api')
-rw-r--r--src/vpp-api/vapi/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vpp-api/vapi/CMakeLists.txt b/src/vpp-api/vapi/CMakeLists.txt
index 53034bd27b8..df5d6114333 100644
--- a/src/vpp-api/vapi/CMakeLists.txt
+++ b/src/vpp-api/vapi/CMakeLists.txt
@@ -34,7 +34,7 @@ install(
vapi.hpp
vapi_internal.h
DESTINATION
- include/vapi
+ ${CMAKE_INSTALL_INCLUDEDIR}/vapi
COMPONENT
vpp-dev
)