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
|
git clone https://github.com/toktok/c-toxcore.git toxcore
|
||||||
cd toxcore
|
cd toxcore
|
||||||
git checkout v0.2.10
|
git checkout v0.2.10
|
||||||
cmake .
|
cmake . -DBOOTSTRAP_DAEMON=OFF
|
||||||
make -j$(nproc)
|
make -j$(nproc)
|
||||||
sudo make install
|
sudo make install
|
||||||
|
|
||||||
|
|
|
@ -114,11 +114,11 @@ install_toxcore() {
|
||||||
# compile and install
|
# compile and install
|
||||||
if [[ $SYSTEM_WIDE = "false" ]]
|
if [[ $SYSTEM_WIDE = "false" ]]
|
||||||
then
|
then
|
||||||
cmake . -DCMAKE_INSTALL_PREFIX=${BASE_DIR}
|
cmake . -DCMAKE_INSTALL_PREFIX=${BASE_DIR} -DBOOTSTRAP_DAEMON=OFF
|
||||||
make -j $(nproc)
|
make -j $(nproc)
|
||||||
make install
|
make install
|
||||||
else
|
else
|
||||||
cmake .
|
cmake . -DBOOTSTRAP_DAEMON=OFF
|
||||||
make -j $(nproc)
|
make -j $(nproc)
|
||||||
sudo make install
|
sudo make install
|
||||||
sudo ldconfig
|
sudo ldconfig
|
||||||
|
|
|
@ -145,6 +145,7 @@
|
||||||
{
|
{
|
||||||
"name": "c-toxcore",
|
"name": "c-toxcore",
|
||||||
"buildsystem": "cmake-ninja",
|
"buildsystem": "cmake-ninja",
|
||||||
|
"config-opts": ["-DBOOTSTRAP_DAEMON=OFF"],
|
||||||
"sources": [
|
"sources": [
|
||||||
{
|
{
|
||||||
"type": "git",
|
"type": "git",
|
||||||
|
|
Loading…
Reference in New Issue
Block a user