ci: use pkgconfig as a fallback for finding SDL2_ttf

This commit is contained in:
Hoe Hao Cheng
2023-09-19 00:51:19 +08:00
parent 3e6788defe
commit b768210797
3 changed files with 18 additions and 4 deletions
+1 -1
View File
@@ -331,7 +331,7 @@ jobs:
run: |
sudo add-apt-repository -y "deb http://archive.ubuntu.com/ubuntu `lsb_release -sc` main universe restricted multiverse"
sudo apt-get update -y -qq
sudo apt-get install libsdl2-dev libgl1-mesa-dev libglu1-mesa-dev
sudo apt-get install libsdl2-dev libgl1-mesa-dev libglu1-mesa-dev libsdl2-ttf-dev libfontconfig1-dev
- name: Install macOS dependencies
if: runner.os == 'macOS'