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
This commit is contained in:
Anthony Bilinski 2020-08-16 02:56:51 -07:00
parent 360cde9d36
commit 56151ea6fd
No known key found for this signature in database
GPG Key ID: 2AA8E0DA1B31FB3C

View File

@ -69,7 +69,7 @@ build_toxcore() {
[[ $TRAVIS != true ]] \
&& sleep 3
mkdir _build && cd _build
mkdir -p _build && cd _build
fcho "Starting cmake ..."
#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}" ..