setup-sdl: Always configure with -DSDL_UNIX_CONSOLE_BUILD=ON

From 0b4058be1a69a43f9875e9a17f41e636495f5852 Mon Sep 17 00:00:00 2001
From: Anonymous Maarten <[EMAIL REDACTED]>
Date: Sat, 14 Dec 2024 23:36:34 +0100
Subject: [PATCH] Always configure with -DSDL_UNIX_CONSOLE_BUILD=ON

---
 packed/index.js | 1 +
 src/main.ts     | 1 +
 2 files changed, 2 insertions(+)

diff --git a/packed/index.js b/packed/index.js
index a75b27c..a7d06f5 100644
--- a/packed/index.js
+++ b/packed/index.js
@@ -642,6 +642,7 @@ function run() {
                                         }
                                         if (project == version_2.Project.SDL) {
                                             args.push("-DSDL_TEST_LIBRARY=".concat(BUILD_SDL_TEST));
+                                            args.push("-DSDL_UNIX_CONSOLE_BUILD=ON");
                                         }
                                         return args.join(" ");
                                     })();
diff --git a/src/main.ts b/src/main.ts
index 83b3a47..a01f874 100644
--- a/src/main.ts
+++ b/src/main.ts
@@ -620,6 +620,7 @@ async function run() {
       }
       if (project == Project.SDL) {
         args.push(`-DSDL_TEST_LIBRARY=${BUILD_SDL_TEST}`);
+        args.push(`-DSDL_UNIX_CONSOLE_BUILD=ON`);
       }
       return args.join(" ");
     })();