From cf9070f005bb503f14c4111526f898d746a5cabf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Rodrigo?= Date: Sun, 10 Sep 2023 17:54:54 +0200 Subject: [PATCH] Install data directory (geojson files) like the profiles directory --- CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 86adcd678..510b4ad3f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -792,6 +792,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 #