build: Fixed Linux build

This commit is contained in:
Eberhard Graether
2019-11-05 23:20:17 +01:00
parent c34b17418d
commit dca9e2627c
3 changed files with 17 additions and 6 deletions
+12 -1
View File
@@ -9,7 +9,18 @@ cd $MY_PATH/..
# run setup script if needed
if [ ! -d "build/Release" ]
then
$MY_PATH/setup.sh
echo "configure builds"
mkdir -p build/Debug
cd build/Debug
cmake -G Ninja -DCMAKE_BUILD_TYPE="Debug" ../..
cd ../..
mkdir -p build/Release
cd build/Release
cmake -G Ninja -DCMAKE_BUILD_TYPE="Release" ../..
cd ../..
if [ $? -ne 0 ]
then
exit 1;