From 851fcb23972bb13e70366e4f1ef694846910871c Mon Sep 17 00:00:00 2001 From: FellippeHeitor Date: Sun, 19 Jan 2020 11:08:08 -0300 Subject: [PATCH] Changes macOS setup script to + + attempt to install Xcode command line tools when not present. --- setup_osx.command | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/setup_osx.command b/setup_osx.command index d565e96e5..a4b00d78a 100755 --- a/setup_osx.command +++ b/setup_osx.command @@ -16,8 +16,9 @@ rm ./internal/temp/* if [ -z "$(which g++)" ]; then echo "GNU C++ compiler not detected (g++)" - echo "Please install Apple's Command Line Tools for Xcode" - echo "before launching QB64 setup." + echo "Attempting to install Apple's Command Line Tools for Xcode..." + echo "After installation is finished, run this setup script again." + xcode-select --install Pause exit 1 fi