summaryrefslogtreecommitdiff
path: root/Install.txt
diff options
context:
space:
mode:
authorAllen Winter <allen.winter@kdab.com>2016-01-19 17:03:59 -0500
committerAllen Winter <allen.winter@kdab.com>2016-01-19 17:04:46 -0500
commitcb1c1730b0c7cba138d35510dbb6adc9198693fb (patch)
tree7d0ce1af657e56e19536ec6b0025a9baed113f7f /Install.txt
parente346914aa3bad666d1923538016ab22cd1a2d5d7 (diff)
downloadlibical-git-cb1c1730b0c7cba138d35510dbb6adc9198693fb.tar.gz
Install.txt - new "Tweaking the Installation Directories" section
Diffstat (limited to 'Install.txt')
-rw-r--r--Install.txt11
1 files changed, 11 insertions, 0 deletions
diff --git a/Install.txt b/Install.txt
index c6df8d93..eb068123 100644
--- a/Install.txt
+++ b/Install.txt
@@ -128,3 +128,14 @@ Use these CMake options to adjust the library behavior as follows:
Notes:
Change the behavior at runtime using the icaltzutil_set_exact_vtimezones_support() function.
Query the behavior at runtime using the icaltzutil_get_exact_vtimezones_support() function.
+
+== Tweaking the Installation Directories ==
+By default, the installation layout is according to the GNU standard installation directories.
+http://www.gnu.org/prep/standards/html_node/Directory-Variables.html
+
+You can override various installation folders by passing the following variables to CMake:
+ CMAKE_INSTALL_LIBDIR = The fullpath where you want the put the installed libraries
+ CMAKE_INSTALL_INCLUDEDIR = The fullpath where you want to put the installed include files
+ CMAKE_INSTALL_DATAROOTDIR = The fullpath where to want to put the shared files
+
+for example: cmake -DCMAKE_INSTALL_PREFIX=/opt -DCMAKE_INSTALL_LIBDIR=/opt/lib32 ..