build: use GNUInstallDirs where possible
[vpp.git] / src / vpp-api / vapi / CMakeLists.txt
index e016922..e53d3e8 100644 (file)
@@ -45,7 +45,7 @@ install(
     vapi_json_parser.py
     vapi_cpp_gen.py
   DESTINATION
-    share/vpp
+    ${CMAKE_INSTALL_DATADIR}/vpp
   COMPONENT
     vpp-dev
 )