diff --git a/CMakeLists.txt b/CMakeLists.txt index 67275d9f3c7..248c59cec0d 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 #