setup-sdl: Don't escape CMake generator when adding it to an array (4ebea)

From 4ebea449684c989388fe6bcea0460e300d13a5ae Mon Sep 17 00:00:00 2001
From: Anonymous Maarten <[EMAIL REDACTED]>
Date: Sat, 20 Dec 2025 01:38:26 +0100
Subject: [PATCH] Don't escape CMake generator when adding it to an array

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

diff --git a/packed/index.js b/packed/index.js
index b27be74..9a120b1 100644
--- a/packed/index.js
+++ b/packed/index.js
@@ -737,7 +737,7 @@ function run() {
                                     }
                                     CMAKE_GENERATOR = core.getInput("cmake-generator");
                                     if (CMAKE_GENERATOR && CMAKE_GENERATOR.length > 0) {
-                                        cmake_configure_args.push("-G", "\"".concat(CMAKE_GENERATOR, "\""));
+                                        cmake_configure_args.push("-G", "".concat(CMAKE_GENERATOR));
                                     }
                                     project_build_informations[project] = {
                                         source_dir: source_dir,
diff --git a/src/main.ts b/src/main.ts
index 882142f..6712d18 100644
--- a/src/main.ts
+++ b/src/main.ts
@@ -743,7 +743,7 @@ async function run() {
 
       const CMAKE_GENERATOR = core.getInput("cmake-generator");
       if (CMAKE_GENERATOR && CMAKE_GENERATOR.length > 0) {
-        cmake_configure_args.push("-G", `"${CMAKE_GENERATOR}"`);
+        cmake_configure_args.push("-G", `${CMAKE_GENERATOR}`);
       }
 
       project_build_informations[project] = {