mirror of
https://github.com/qTox/qTox.git
synced 2024-03-22 14:00:36 +08:00
chore(docs): build toxcore with bootstrap daemon disabled
toxcore requires libconfig to build the bootstrap daemon. our current dependencies don't list libconfig, and we have no use for the bootstrap daemon, so don't build it for qTox.
This commit is contained in:
parent
a29415024a
commit
196a20f124
|
@ -499,7 +499,7 @@ Provided that you have all required dependencies installed, you can simply run:
|
|||
git clone https://github.com/toktok/c-toxcore.git toxcore
|
||||
cd toxcore
|
||||
git checkout v0.2.10
|
||||
cmake .
|
||||
cmake . -DBOOTSTRAP_DAEMON=OFF
|
||||
make -j$(nproc)
|
||||
sudo make install
|
||||
|
||||
|
|
|
@ -114,11 +114,11 @@ install_toxcore() {
|
|||
# compile and install
|
||||
if [[ $SYSTEM_WIDE = "false" ]]
|
||||
then
|
||||
cmake . -DCMAKE_INSTALL_PREFIX=${BASE_DIR}
|
||||
cmake . -DCMAKE_INSTALL_PREFIX=${BASE_DIR} -DBOOTSTRAP_DAEMON=OFF
|
||||
make -j $(nproc)
|
||||
make install
|
||||
else
|
||||
cmake .
|
||||
cmake . -DBOOTSTRAP_DAEMON=OFF
|
||||
make -j $(nproc)
|
||||
sudo make install
|
||||
sudo ldconfig
|
||||
|
|
|
@ -145,6 +145,7 @@
|
|||
{
|
||||
"name": "c-toxcore",
|
||||
"buildsystem": "cmake-ninja",
|
||||
"config-opts": ["-DBOOTSTRAP_DAEMON=OFF"],
|
||||
"sources": [
|
||||
{
|
||||
"type": "git",
|
||||
|
|
Loading…
Reference in New Issue
Block a user