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}"
|
||||
|
||||
pushd ${BASE_DIR}/${TOXCORE_DIR}
|
||||
cmake .
|
||||
|
||||
# compile
|
||||
make -j $(nproc)
|
||||
|
||||
# install
|
||||
# compile and install
|
||||
if [[ $SYSTEM_WIDE = "false" ]]
|
||||
then
|
||||
cmake . -DCMAKE_INSTALL_PREFIX=${BASE_DIR}
|
||||
make -j $(nproc)
|
||||
make install
|
||||
else
|
||||
cmake .
|
||||
make -j $(nproc)
|
||||
sudo make install
|
||||
sudo ldconfig
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue
Block a user