aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rwxr-xr-xtools/macos-setup.sh9
1 files changed, 7 insertions, 2 deletions
diff --git a/tools/macos-setup.sh b/tools/macos-setup.sh
index 9c1db539df..47613185d2 100755
--- a/tools/macos-setup.sh
+++ b/tools/macos-setup.sh
@@ -2389,8 +2389,13 @@ echo "export PATH=$PATH:$qt_base_path/bin"
echo
echo "mkdir build; cd build"
echo "cmake .."
-echo "make $MAKE_BUILD_OPTS app_bundle"
-echo "make install/strip"
+if [ ! -z "$NINJA_VERSION" ]; then
+ echo "ninja app_bundle"
+ echo "ninja install/strip"
+else
+ echo "make $MAKE_BUILD_OPTS app_bundle"
+ echo "make install/strip"
+fi
echo
echo "Make sure you are allowed capture access to the network devices"
echo "See: https://wiki.wireshark.org/CaptureSetup/CapturePrivileges"