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

fix(build): attempt to make travis happy

This commit is contained in:
vit9696 2017-01-29 22:32:38 -08:00
parent 0a53331b85
commit 919a94b978

View File

@ -217,6 +217,9 @@ build() {
fcho "------------------------------" fcho "------------------------------"
fcho "Starting build process ..." fcho "Starting build process ..."
# update version info # update version info
cd $QTOX_DIR
fcho "Now working in ${PWD}"
fcho "Setting the version ..."
./tools/update-versions.sh ./tools/update-versions.sh
rm -rf $BUILD_DIR rm -rf $BUILD_DIR
@ -224,7 +227,7 @@ build() {
mkdir $BUILD_DIR mkdir $BUILD_DIR
cd $BUILD_DIR cd $BUILD_DIR
fcho "Now working in ${PWD}" fcho "Now working in ${PWD}"
fcho "Starting cmake ... " fcho "Starting cmake ..."
export CMAKE_PREFIX_PATH=$(brew --prefix qt5) export CMAKE_PREFIX_PATH=$(brew --prefix qt5)
cmake -H$QTOX_DIR -B. cmake -H$QTOX_DIR -B.
make -j$(sysctl -n hw.ncpu) make -j$(sysctl -n hw.ncpu)