From 2a5ebf84bcee7529fef3052c7013e26f3091b742 Mon Sep 17 00:00:00 2001 From: "Daniel J. Hofmann" Date: Tue, 7 Feb 2017 17:55:20 +0100 Subject: [PATCH] Installs profiles to /usr/local/share/osrm/profiles by default, resolves #3670 --- CMakeLists.txt | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 2c111c481..5893b6fd9 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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 #