Skip to content

Commit 2a45ca0

Browse files
authored
Require ninja to be installed and in path to build the libs (#206)
Make causes issues with building the libs, so ninja must be used
1 parent fcfcb74 commit 2a45ca0

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

Diff for: build.sh

+7-2
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,17 @@
11
#!/bin/bash
22

33
if ! [ -x "$(command -v python3)" ]; then
4-
echo "ERROR: python is not installed! Please install python first."
4+
echo "ERROR: python is not installed or not in PATH! Please install python first."
55
exit 1
66
fi
77

88
if ! [ -x "$(command -v git)" ]; then
9-
echo "ERROR: git is not installed! Please install git first."
9+
echo "ERROR: git is not installed or not in PATH! Please install git first."
10+
exit 1
11+
fi
12+
13+
if ! [ -x "$(command -v ninja)" ]; then
14+
echo "ERROR: ninja is not installed or not in PATH! Please install ninja first."
1015
exit 1
1116
fi
1217

0 commit comments

Comments
 (0)