Skip to content

Commit

Permalink
fix: Clone submodules when checking out toxcore.
Browse files Browse the repository at this point in the history
  • Loading branch information
iphydf committed Feb 21, 2024
1 parent 3bc9c20 commit 70943c5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tools/prepare_third_party.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

set -ex

sudo apt-get install libmsgpack-dev libopus-dev libsodium-dev libvpx-dev
sudo apt-get install libopus-dev libsodium-dev libvpx-dev

git clone --depth=1 https://github.com/TokTok/c-toxcore
git clone --recurse-submodules --depth=1 https://github.com/TokTok/c-toxcore
cmake -Bc-toxcore/_build -Hc-toxcore -DBOOTSTRAP_DAEMON=OFF -DCMAKE_INSTALL_PREFIX:PATH="/usr"
cmake --build c-toxcore/_build --parallel "$(nproc)"
sudo cmake --build c-toxcore/_build --parallel "$(nproc)" --target install
Expand Down

0 comments on commit 70943c5

Please sign in to comment.