1
0
mirror of https://github.com/qTox/qTox.git synced 2024-03-22 14:00:36 +08:00

fix(osx): Allow rebuild using build script

Was failing if directory was already present on -i

(cherry picked from commit 56151ea6fd)
This commit is contained in:
Anthony Bilinski 2020-08-16 02:56:51 -07:00
parent b40ba27be5
commit 8f3a621fc3
No known key found for this signature in database
GPG Key ID: 2AA8E0DA1B31FB3C

View File

@ -69,7 +69,7 @@ build_toxcore() {
[[ $TRAVIS != true ]] \ [[ $TRAVIS != true ]] \
&& sleep 3 && sleep 3
mkdir _build && cd _build mkdir -p _build && cd _build
fcho "Starting cmake ..." fcho "Starting cmake ..."
#Make sure the correct version of libsodium is used #Make sure the correct version of libsodium is used
cmake -DBOOTSTRAP_DAEMON=OFF -DLIBSODIUM_CFLAGS="-I${LS_DIR_VER}/include/" -DLIBSODIUM_LDFLAGS="L${LS_DIR_VER}/lib/" -DCMAKE_INSTALL_PREFIX="${LIB_INSTALL_PREFIX}" .. cmake -DBOOTSTRAP_DAEMON=OFF -DLIBSODIUM_CFLAGS="-I${LS_DIR_VER}/include/" -DLIBSODIUM_LDFLAGS="L${LS_DIR_VER}/lib/" -DCMAKE_INSTALL_PREFIX="${LIB_INSTALL_PREFIX}" ..