diff --git a/.travis/deps.sh b/.travis/deps.sh index a510c5263..c89737584 100755 --- a/.travis/deps.sh +++ b/.travis/deps.sh @@ -20,6 +20,13 @@ install_arch_linux() { } +install_redhat() { + sudo dnf group install -y "development-tools" + sudo dnf install -y cmake ninja-build which g++ + sudo dnf install -y SDL2_ttf-devel + sudo dnf install -y freetype-devel +} + install_linux() { sudo apt-get update -yqqm sudo apt-get install -ym pkg-config @@ -84,7 +91,7 @@ install_clang64() { case "$1" in - osx|macports|linux|mingw32|mingw64|ucrt64|clang64) + osx|macports|linux|mingw32|mingw64|redhat|ucrt64|clang64) install_"$1" ;; arch-linux) diff --git a/README-CMake.md b/README-CMake.md index f5778fdd8..c1999378b 100644 --- a/README-CMake.md +++ b/README-CMake.md @@ -91,6 +91,8 @@ Before you begin building the simulators, you need the following: apt: `sudo apt install cmake cmake-data` + dnf: `sudo dnf install cmake` + pacman: `sudo pacman install cmake` - macOS: Install `cmake` using your preferred external package management @@ -279,6 +281,12 @@ binaries. $ sudo sh .travis/deps.sh linux ``` + - Linux dnf-based distributions (e.g., Fedora, Red Hat): + + ```bash + $ sudo sh .travis/deps.sh redhat + ``` + - macOS Homebrew: ```bash