SDL: ci: use CMake for building SDL on FreeBSD

From b4fc66525c4fa000a4459d4e2522635c2f94aaba Mon Sep 17 00:00:00 2001
From: Anonymous Maarten <[EMAIL REDACTED]>
Date: Thu, 24 Nov 2022 20:05:19 +0100
Subject: [PATCH] ci: use CMake for building SDL on FreeBSD

---
 .github/workflows/vmactions.yml | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/.github/workflows/vmactions.yml b/.github/workflows/vmactions.yml
index 9d6fdffe83d2..f64be7b0a63e 100644
--- a/.github/workflows/vmactions.yml
+++ b/.github/workflows/vmactions.yml
@@ -14,7 +14,8 @@ jobs:
         usesh: true
         prepare: |
           pkg install -y \
-              gmake \
+              cmake \
+              ninja \
               pkgconf \
               libXcursor \
               libXext \
@@ -43,6 +44,5 @@ jobs:
               libudev-devd
 
         run: |
-          mkdir build_autotools
-          (cd build_autotools && CFLAGS="-I/usr/local/include" LDFLAGS="-L/usr/local/lib" ../configure)
-          gmake -C build_autotools -j`sysctl -n hw.ncpu` V=1
+          cmake -S . -B build -GNinja
+          cmake --build build --verbose -- -j`sysctl -n hw.ncpu`