summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorCarlos Martín Nieto <carlos@cmartin.tk>2011-10-11 18:12:36 +0200
committerCarlos Martín Nieto <carlos@cmartin.tk>2011-10-11 18:14:13 +0200
commit5cb7a1addfa9015f834e5a95d88c0e7a40920d30 (patch)
treec23a04d7e29ad48aabdb8931a5686e6f21035bb5 /README.md
parent5b216d1a6fc2968fa9f6524663b7647cb1c2a3a4 (diff)
downloadlibgit2-5cb7a1addfa9015f834e5a95d88c0e7a40920d30.tar.gz
Explain how to build universal OSX binaries
Signed-off-by: Carlos Martín Nieto <carlos@cmartin.tk>
Diffstat (limited to 'README.md')
-rw-r--r--README.md4
1 files changed, 4 insertions, 0 deletions
diff --git a/README.md b/README.md
index b5c76a6be..82517bc48 100644
--- a/README.md
+++ b/README.md
@@ -55,6 +55,10 @@ To install the library you can specify the install prefix by setting:
$ cmake .. -DCMAKE_INSTALL_PREFIX=/install/prefix
$ cmake --build . --target install
+If you want to build a universal binary for Mac OS X, CMake sets it
+all up for you if you use `-DCMAKE_OSX_ARCHITECTURES="i386;x86_64"`
+when configuring.
+
For more advanced use or questions about CMake please read <http://www.cmake.org/Wiki/CMake_FAQ>.
The following CMake variables are declared: