You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
export SDKROOT=$(xcrun --show-sdk-path)
# Detect architecture and set appropriate paths
if [[ "$(uname -m)" == "arm64" ]]; then
# Apple Silicon
CMAKE_PATH="/opt/homebrew/bin/cmake"
CMAKE_PREFIX_PATH="/opt/homebrew/opt"
else
# Intel
CMAKE_PATH="/usr/local/bin/cmake"
CMAKE_PREFIX_PATH="/usr/local/opt"
fi
cd glabels_source_directory
mkdir build
cd build
$CMAKE_PATH -DCMAKE_PREFIX_PATH=$CMAKE_PREFIX_PATH/qt@6 ..
make
sudo make install