Install data directory (geojson files) like the profiles directory

This commit is contained in:
Frédéric Rodrigo 2023-09-10 17:54:54 +02:00
parent 6d10523440
commit cf9070f005

View File

@ -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
#