Installs profiles to /usr/local/share/osrm/profiles by default, resolves #3670

This commit is contained in:
Daniel J. Hofmann 2017-02-07 17:55:20 +01:00 committed by Daniel J. H
parent 768dc8d817
commit 2a5ebf84bc

View File

@ -671,6 +671,11 @@ install(TARGETS osrm_extract DESTINATION lib)
install(TARGETS osrm_contract DESTINATION lib)
install(TARGETS osrm_store DESTINATION lib)
# Install profiles and support library to /usr/local/share/osrm/profiles by default
set(DefaultProfilesDir profiles)
install(DIRECTORY ${DefaultProfilesDir} DESTINATION share/osrm)
# Setup exporting variables for pkgconfig and subproject
#