From 17176496a8bfcec9997a893d69afec48eebf4754 Mon Sep 17 00:00:00 2001 From: Andrei Litvin Date: Mon, 17 Apr 2023 14:56:43 -0400 Subject: [PATCH] Add sdl2 to BUILDING.md description (#26132) * Add docs about installing sdl2 variants * Add sdl2 docs --- docs/guides/BUILDING.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/docs/guides/BUILDING.md b/docs/guides/BUILDING.md index 78ad0ecd0d6e0a..08900d3313e340 100644 --- a/docs/guides/BUILDING.md +++ b/docs/guides/BUILDING.md @@ -55,10 +55,26 @@ sudo apt-get install git gcc g++ pkg-config libssl-dev libdbus-1-dev \ python3-pip unzip libgirepository1.0-dev libcairo2-dev libreadline-dev ``` +#### UI builds + +If building `-with-ui` variant, also install SDL2: + +``` +sudo apt-get install libsdl2-dev +``` + ### Installing prerequisites on macOS On macOS, install Xcode from the Mac App Store. +#### UI builds + +If building `-with-ui` variant, also install SDL2: + +``` +brew install sdl2 +``` + ### Installing prerequisites on Raspberry Pi 4 Complete the following steps: