From 0f7b86b099a0254a7f79b59bf5b04c7407fbdc64 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Rodrigo?= Date: Wed, 13 Sep 2023 22:01:06 +0200 Subject: [PATCH] Install data directory (geojson files) like the profiles directory (#6699) --- CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 67275d9f3..248c59cec 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -639,6 +639,10 @@ install(TARGETS osrm_guidance DESTINATION lib) set(DefaultProfilesDir profiles) install(DIRECTORY ${DefaultProfilesDir} DESTINATION share/osrm) +# Install data geojson files to /usr/local/share/osrm/data by default +set(DefaultProfilesDir data) +install(DIRECTORY ${DefaultProfilesDir} DESTINATION share/osrm) + # Setup exporting variables for pkgconfig and subproject #