Add brew install cmake ninja

This commit is contained in:
Martin Delille 2019-03-03 17:46:21 +01:00 committed by John Preston
parent bfc9e43eb4
commit 8478abe378

View file

@ -21,7 +21,7 @@ Go to ***BuildPath*** and run
MACOSX_DEPLOYMENT_TARGET=10.8
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
brew install automake fdk-aac git lame libass libtool libvorbis libvpx opus sdl shtool texi2html theora wget x264 xvid yasm pkg-config
brew install automake cmake fdk-aac git lame libass libtool libvorbis libvpx ninja opus sdl shtool texi2html theora wget x264 xvid yasm pkg-config
sudo xcode-select -s /Applications/Xcode.app/Contents/Developer
@ -37,13 +37,6 @@ Go to ***BuildPath*** and run
sudo make install
cd ..
git clone https://github.com/Kitware/CMake
cd CMake
./bootstrap
make -j4
sudo make install
cd ..
git clone https://github.com/telegramdesktop/zlib.git
cd zlib
CFLAGS="-mmacosx-version-min=10.8" LDFLAGS="-mmacosx-version-min=10.8" ./configure