Skip to content

Commit 22968e8

Browse files
macOS
1 parent 47695e7 commit 22968e8

File tree

1 file changed

+7
-11
lines changed

1 file changed

+7
-11
lines changed

docs/guides/Monado_for_macOS.md

Lines changed: 7 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ GitHub user Max Thomas has shared a [GitHub Gist tip](https://gist.github.com/sh
1414

1515
- /usr/local/bin/monado-cli
1616

17-
## Install the homebrew package manager for macOS.
17+
## Install the homebrew package manager for macOS
1818

1919
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
2020

@@ -32,27 +32,23 @@ For simplicity, it is likely easiest if you place the SDK files into your home f
3232

3333
![VulkanSDK Install 2](Images/macos_vulkan2.png)
3434

35-
## Download OpenXR SDK
35+
## Download the OpenXR SDK
3636

3737
{
3838
git clone https://github.com/KhronosGroup/OpenXR-SDK.git
3939
cd OpenXR-SDK
4040
}
4141

42-
## Patch the OpenXR SDK for macOS
43-
44-
Note: A small adjustment to the patch file is needed to update it for the latest version of the OpenXR SDK.
42+
## Compile OpenXR using Xcode
4543

4644
{
4745
cd $HOME/OpenXR-SDK
48-
curl -O https://gist.githubusercontent.com/shinyquagsire23/1e3d38940d7381181ff88f11a5550547/raw/de7bfe289e286492e8328855f1f1efbaa95e1a40/openxr-sdk-loader-macos.patch
49-
git apply openxr-sdk-loader-macos.patch
50-
mkdir -p build && cd build
51-
cmake -DCMAKE_BUILD_TYPE=Debug -DCMAKE_INSTALL_PREFIX=/opt/homebrew/ ..
52-
make install
46+
mkdir -p build/macos
47+
cd build/macos
48+
cmake -G "Xcode" ../..
49+
xcodebuild -scheme ALL_BUILD build
5350
}
5451

55-
5652
## Edit your .zshrc file:
5753

5854
nano $HOME/.zshrc

0 commit comments

Comments
 (0)