GH-1451 add make install step to OSX build instructions

This commit is contained in:
Petr Mrázek 2016-02-11 21:04:10 +01:00
parent 4ee1900201
commit b7f75637fa

View File

@ -135,6 +135,9 @@ brew install cmake
``` ```
### Build ### Build
Pick an installation path - this is where the final `.app` will be constructed when you run `make install`. Supply it as the `CMAKE_INSTALL_PREFIX` argument during CMake configuration.
``` ```
git clone https://github.com/MultiMC/MultiMC5.git git clone https://github.com/MultiMC/MultiMC5.git
git submodule init git submodule init
@ -145,8 +148,9 @@ cd build
export CMAKE_PREFIX_PATH=/usr/local/opt/qt5 export CMAKE_PREFIX_PATH=/usr/local/opt/qt5
export CC=/usr/local/bin/gcc-4.8 export CC=/usr/local/bin/gcc-4.8
export CXX=/usr/local/bin/g++-4.8 export CXX=/usr/local/bin/g++-4.8
cmake .. cmake .. -DCMAKE_INSTALL_PREFIX:PATH=/Users/YOU/some/path/that/makes/sense/
make make
make install
``` ```
**These build instructions were taken and adapted from https://gist.github.com/number5/7250865 If they don't work for you, let us know on IRC ([Esper/#MultiMC](http://webchat.esper.net/?nick=&channels=MultiMC))!** **These build instructions were taken and adapted from https://gist.github.com/number5/7250865 If they don't work for you, let us know on IRC ([Esper/#MultiMC](http://webchat.esper.net/?nick=&channels=MultiMC))!**