Add MacOS build

This commit is contained in:
ReenigneArcher
2022-04-30 19:20:16 -04:00
parent 12bf5cffc5
commit 639af4f08a
4 changed files with 78 additions and 14 deletions

View File

@@ -14,14 +14,14 @@ MacPorts
Install Requirements
.. code-block:: bash
sudo port install cmake boost libopus ffmpeg
sudo port install cmake boost ffmpeg libopus
Homebrew
""""""""
Install Requirements
.. code-block:: bash
brew install boost cmake ffmpeg libopusenc
brew install boost cmake ffmpeg opus
# if there are issues with an SSL header that is not found:
cd /usr/local/include
ln -s ../opt/openssl/include/openssl .
@@ -35,6 +35,8 @@ Build
cmake ..
make -j ${nproc}
cpack -G DragNDrop # optionally, create a MacOS dmg package
If cmake fails complaining to find Boost, try to set the path explicitly.
``cmake -DBOOST_ROOT=[boost path] ..``, e.g., ``cmake -DBOOST_ROOT=/opt/local/libexec/boost/1.76 ..``