mirror of
https://git.proxmox.com/git/libgit2
synced 2025-05-06 09:18:00 +00:00
Explain how to build universal OSX binaries
Signed-off-by: Carlos Martín Nieto <carlos@cmartin.tk>
This commit is contained in:
parent
5b216d1a6f
commit
5cb7a1addf
@ -55,6 +55,10 @@ To install the library you can specify the install prefix by setting:
|
|||||||
$ cmake .. -DCMAKE_INSTALL_PREFIX=/install/prefix
|
$ cmake .. -DCMAKE_INSTALL_PREFIX=/install/prefix
|
||||||
$ cmake --build . --target install
|
$ 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>.
|
For more advanced use or questions about CMake please read <http://www.cmake.org/Wiki/CMake_FAQ>.
|
||||||
|
|
||||||
The following CMake variables are declared:
|
The following CMake variables are declared:
|
||||||
|
Loading…
Reference in New Issue
Block a user