SDL: ci: install SDL when built as a subproject

From 832754b9702dd5dd469d7b76dce5c31122b6df91 Mon Sep 17 00:00:00 2001
From: Anonymous Maarten <[EMAIL REDACTED]>
Date: Sat, 23 Jul 2022 15:43:06 +0200
Subject: [PATCH] ci: install SDL when built as a subproject

---
 .github/workflows/msvc.yml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/.github/workflows/msvc.yml b/.github/workflows/msvc.yml
index 5cc1ff17ab5..9be53548cd9 100644
--- a/.github/workflows/msvc.yml
+++ b/.github/workflows/msvc.yml
@@ -42,6 +42,7 @@ jobs:
       run: cmake -S build -B build `
         -DSDL_TESTS=ON `
         -DSDL_INSTALL_TESTS=ON `
+        -DSDL2_DISABLE_INSTALL=OFF `
         ${{ matrix.platform.flags }} `
         -DCMAKE_INSTALL_PREFIX=prefix
     - name: Build (CMake)