aboutsummaryrefslogtreecommitdiffstats
path: root/src/vpp-api/vapi/CMakeLists.txt
diff options
context:
space:
mode:
authorWim de With <wf@dewith.io>2024-01-28 11:05:15 +0100
committerDamjan Marion <dmarion@0xa5.net>2024-04-10 13:59:41 +0000
commitf521df72005cc8e995e908175392b183083568c8 (patch)
treed0c41a6bf245e6020900754183e0efc987c414ed /src/vpp-api/vapi/CMakeLists.txt
parenta447c66e558c7526d9ed04878d27d0f32127ed2f (diff)
build: use GNUInstallDirs where possible
Some installation destinations were already converted to the GNUInstallDirs standard in e3cf4d0cf. This patch converts the share and include directories (typically /usr/share and /usr/include respectively) as well. Type: improvement Change-Id: Id481b16604f3f52203166a5c0647f43d6eb05239 Signed-off-by: Wim de With <wf@dewith.io>
Diffstat (limited to 'src/vpp-api/vapi/CMakeLists.txt')
-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 e01692210bb..e53d3e8b238 100644
--- a/src/vpp-api/vapi/CMakeLists.txt
+++ b/src/vpp-api/vapi/CMakeLists.txt
@@ -45,7 +45,7 @@ install(
vapi_json_parser.py
vapi_cpp_gen.py
DESTINATION
- share/vpp
+ ${CMAKE_INSTALL_DATADIR}/vpp
COMPONENT
vpp-dev
)