summaryrefslogtreecommitdiff
path: root/Install.txt
diff options
context:
space:
mode:
authorAllen Winter <allen.winter@kdab.com>2019-04-07 12:18:11 -0400
committerAllen Winter <allen.winter@kdab.com>2019-04-07 12:18:11 -0400
commit401065ee0b82250e4654b43330d51f1a3ba5a63a (patch)
tree1cfe8e603dae6cec3b03506ffa1ecaa117c78038 /Install.txt
parent8c89a427bd9584bdf45e55888b9270d3ab49f207 (diff)
downloadlibical-git-401065ee0b82250e4654b43330d51f1a3ba5a63a.tar.gz
Install.txt - merge from master
Diffstat (limited to 'Install.txt')
-rw-r--r--Install.txt14
1 files changed, 14 insertions, 0 deletions
diff --git a/Install.txt b/Install.txt
index 9df6cf3e..62c1d5bb 100644
--- a/Install.txt
+++ b/Install.txt
@@ -73,6 +73,20 @@ For example, say you want to use Clang to build on Linux.
Then you can set the C and C++ compilers at CMake time, like so:
% CC=clang CXX=clang++ cmake ..
+== Building for OSX (Mac) ==
+Homebrew:
+ A couple of necessary dependencies do not have their headers
+ and development libraries linked into /usr/local/{include,lib} due
+ to possible contamination with the operating system versions of the
+ same name. This is known to be the case with libffi and libxml2
+ Fix is to export PKG_CONFIG_PATH so CMake can find them, as in:
+ export PKG_CONFIG_PATH=/usr/local/opt/libffi/lib/pkgconfig:\
+ /usr/local/opt/libxml2/lib/pkgconfig
+
+ Also, if building the gtkdocs you'll need to say where the xml
+ catalog files can be found so the gtk entities are located, like so:
+ export XML_CATALOG_FILES=/usr/local/etc/xml/catalog
+
== Optional Dependencies ==
* libicu "International Components for Unicode" development libraries.
Highly recommended for RSCALE support.