Update Building for macOS

zqpvr01 2024-03-22 12:31:42 +01:00
parent d36e53923d
commit 26c21d2665

@ -1,6 +1,6 @@
Please note this article is intended for development, and yuzu on macOS is not currently ready for regular use. Please note this article is intended for development, and suyu on macOS is not currently ready for regular use.
This article was written for developers. yuzu support for macOS is not ready for casual use. This article was written for developers. suyu support for macOS is not ready for casual use.
--- ---
Install dependencies from Homebrew: Install dependencies from Homebrew:
@ -12,7 +12,7 @@ Build with debug symbols (vcpkg is not currently used due to broken boost-contex
```sh ```sh
mkdir build && cd build mkdir build && cd build
export Qt5_DIR="/opt/homebrew/opt/qt@5/lib/cmake" export Qt5_DIR="/opt/homebrew/opt/qt@5/lib/cmake"
cmake .. -GNinja -DCMAKE_BUILD_TYPE=RelWithDebInfo -DYUZU_USE_BUNDLED_VCPKG=OFF -DYUZU_TESTS=OFF -DENABLE_WEB_SERVICE=OFF -DENABLE_LIBUSB=OFF cmake .. -GNinja -DCMAKE_BUILD_TYPE=RelWithDebInfo -Dsuyu_USE_BUNDLED_VCPKG=OFF -Dsuyu_TESTS=OFF -DENABLE_WEB_SERVICE=OFF -DENABLE_LIBUSB=OFF
ninja ninja
``` ```
@ -21,7 +21,7 @@ ninja
Run the output: Run the output:
``` ```
bin/yuzu.app/Contents/MacOS/yuzu bin/suyu.app/Contents/MacOS/suyu
``` ```
--- ---
@ -34,5 +34,5 @@ brew install molten-vk vulkan-loader
Run with Vulkan loader path: Run with Vulkan loader path:
```sh ```sh
export LIBVULKAN_PATH=/opt/homebrew/lib/libvulkan.dylib export LIBVULKAN_PATH=/opt/homebrew/lib/libvulkan.dylib
bin/yuzu.app/Contents/MacOS/yuzu bin/suyu.app/Contents/MacOS/suyu
``` ```