summaryrefslogtreecommitdiff
path: root/Install.txt
diff options
context:
space:
mode:
authorAllen Winter <allen.winter@kdab.com>2018-11-12 17:40:51 -0500
committerAllen Winter <allen.winter@kdab.com>2018-11-12 17:40:51 -0500
commit2c343926f73d8327ad159a70d15134aed60d54da (patch)
treeacddb5b09ec9d05fe62645040d262416954bd824 /Install.txt
parentbe44c3250d72d40a1e7c75a29ef1dc7fdc5f7a72 (diff)
downloadlibical-git-2c343926f73d8327ad159a70d15134aed60d54da.tar.gz
cmake/modules/GtkDoc.cmake, Install.txt - fixes
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.