Skip to content

Commit 1717649

Browse files
andy31415pull[bot]
authored andcommitted
Add sdl2 to BUILDING.md description (#26132)
* Add docs about installing sdl2 variants * Add sdl2 docs
1 parent 4354d6d commit 1717649

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

docs/guides/BUILDING.md

+16
Original file line numberDiff line numberDiff line change
@@ -55,10 +55,26 @@ sudo apt-get install git gcc g++ pkg-config libssl-dev libdbus-1-dev \
5555
python3-pip unzip libgirepository1.0-dev libcairo2-dev libreadline-dev
5656
```
5757

58+
#### UI builds
59+
60+
If building `-with-ui` variant, also install SDL2:
61+
62+
```
63+
sudo apt-get install libsdl2-dev
64+
```
65+
5866
### Installing prerequisites on macOS
5967

6068
On macOS, install Xcode from the Mac App Store.
6169

70+
#### UI builds
71+
72+
If building `-with-ui` variant, also install SDL2:
73+
74+
```
75+
brew install sdl2
76+
```
77+
6278
### Installing prerequisites on Raspberry Pi 4
6379

6480
Complete the following steps:

0 commit comments

Comments
 (0)