mirror of
https://github.com/qTox/qTox.git
synced 2024-03-22 14:00:36 +08:00
parent
a00af08777
commit
9ca3875079
10
bootstrap.sh
10
bootstrap.sh
|
@ -93,16 +93,16 @@ install_toxcore() {
|
||||||
"${BASE_DIR}/${TOXCORE_DIR}"
|
"${BASE_DIR}/${TOXCORE_DIR}"
|
||||||
|
|
||||||
pushd ${BASE_DIR}/${TOXCORE_DIR}
|
pushd ${BASE_DIR}/${TOXCORE_DIR}
|
||||||
cmake .
|
|
||||||
|
|
||||||
# compile
|
# compile and install
|
||||||
make -j $(nproc)
|
|
||||||
|
|
||||||
# install
|
|
||||||
if [[ $SYSTEM_WIDE = "false" ]]
|
if [[ $SYSTEM_WIDE = "false" ]]
|
||||||
then
|
then
|
||||||
|
cmake . -DCMAKE_INSTALL_PREFIX=${BASE_DIR}
|
||||||
|
make -j $(nproc)
|
||||||
make install
|
make install
|
||||||
else
|
else
|
||||||
|
cmake .
|
||||||
|
make -j $(nproc)
|
||||||
sudo make install
|
sudo make install
|
||||||
sudo ldconfig
|
sudo ldconfig
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue
Block a user