From e3cf4d0cf3b83f912474220ff52dfedc5a432084 Mon Sep 17 00:00:00 2001 From: Nick Brown Date: Wed, 15 Sep 2021 14:25:40 +0100 Subject: 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 --- src/vat/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/vat') diff --git a/src/vat/CMakeLists.txt b/src/vat/CMakeLists.txt index ee53386f114..66ea69b8da4 100644 --- a/src/vat/CMakeLists.txt +++ b/src/vat/CMakeLists.txt @@ -58,7 +58,7 @@ add_vpp_executable(vpp_json_test ENABLE_EXPORTS NO_INSTALL ############################################################################## install( FILES vat.h json_format.h - DESTINATION include/vat + DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/vat COMPONENT vpp-dev ) -- cgit 1.2.3-korg