Skip to content

Commit

Permalink
Remove unnecessary build flag.
Browse files Browse the repository at this point in the history
  • Loading branch information
vladfi1 committed Mar 26, 2024
1 parent ff34bfd commit 3f69c00
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions build-mac.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# build-mac.sh

QT_BREW_PATH=$(brew --prefix qt@6)
CMAKE_FLAGS="-DQT_DIR=${QT_BREW_PATH}/lib/cmake/Qt6 -DENABLE_NOGUI=false"
CMAKE_FLAGS="-DQT_DIR=${QT_BREW_PATH}/lib/cmake/Qt6"

# For some reason the system xxhash library doesn't get properly linked,
# at least on my M1. The clang command gets -lxxhash, but probably needs
Expand All @@ -26,8 +26,8 @@ then
fi

# Move into the build directory, run CMake, and compile the project
mkdir -p build
pushd build
BUILD_DIR=build
mkdir -p $BUILD_DIR && pushd $BUILD_DIR
cmake ${CMAKE_FLAGS} ..
cmake --build . --target dolphin-emu -- -j$(sysctl -n hw.ncpu)
popd

0 comments on commit 3f69c00

Please sign in to comment.