Installation: Fix typo and remove old part (#823)

* Fix typo in Installation.md

* Remove the old part about c++23
This commit is contained in:
mitsu-ksgr 2024-10-25 07:39:06 +09:00 committed by GitHub
parent aebff60c8f
commit 887fe11492
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -218,7 +218,7 @@ sudo apt-get install -y meson wget build-essential ninja-build cmake-extras cmak
You will also need to build the latest wayland, wayland-protocols, and You will also need to build the latest wayland, wayland-protocols, and
libdisplay-info tagged releases from source. libdisplay-info tagged releases from source.
For screensharing, you can also `install xdg-desktop-portal-wlr` or `xdg-desktop-portal-hyprland` For screensharing, you can also install `xdg-desktop-portal-wlr` or `xdg-desktop-portal-hyprland`
```bash ```bash
sudo apt-get install -y xdg-desktop-portal-wlr sudo apt-get install -y xdg-desktop-portal-wlr
@ -415,11 +415,6 @@ export CC=gcc CXX=g++ LDFLAGS="-static-libstdc++ -static-libgcc"
refer to the Ubuntu tab above refer to the Ubuntu tab above
Please note that Hyprland uses the C++23 standard, so both your compiler and
your C++ library has to support that (`gcc>=13.0.0` or `clang>=15`). On
Clang-based systems libc++ may be used by default, so until libc++ supports
C++23 you have to pass `-stdlib=libstdc++` or switch to GCC.
{{% /details %}} {{% /details %}}
{{< callout type=warning >}} {{< callout type=warning >}}