fix(build): fix linux build

Fixes #413
This commit is contained in:
Anthony Laibe 2022-03-03 10:44:24 +01:00 committed by Pascal Precht
parent f574e39012
commit 9d06aae1f4
No known key found for this signature in database
GPG Key ID: 3017C135E0731E5A
1 changed files with 9 additions and 3 deletions

View File

@ -1,4 +1,10 @@
make clean
qmake sandbox.pro -spec macx-clang CONFIG+=debug CONFIG+=x86_64 && /usr/bin/make qmake_all
make
#!/bin/bash
make clean
if [[ $OSTYPE == 'darwin'* ]]
then
qmake sandbox.pro -spec macx-clang CONFIG+=debug CONFIG+=x86_64 && /usr/bin/make qmake_all
else
qmake sandbox.pro CONFIG+=debug CONFIG+=x86_64 && /usr/bin/make qmake_all
fi
make