Maelstrom: Install the Maelstrom executable even if we don't use vendored SDL

From 56612f429b67bc1a3c21e60d5d5c3c474404cab8 Mon Sep 17 00:00:00 2001
From: Sam Lantinga <[EMAIL REDACTED]>
Date: Tue, 28 Apr 2026 08:10:02 -0700
Subject: [PATCH] Install the Maelstrom executable even if we don't use
 vendored SDL

---
 CMakeLists.txt | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 0a5a863b..599e5988 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -269,8 +269,9 @@ else()
         )
     endif()
 
+	install(TARGETS ${TARGET_NAME} RUNTIME DESTINATION "${CMAKE_INSTALL_BINDIR}")
     if (USE_VENDORED_SDL)
-        install(TARGETS ${TARGET_NAME} SDL3-shared LIBRARY DESTINATION "${CMAKE_INSTALL_LIBDIR}" NAMELINK_SKIP RUNTIME DESTINATION "${CMAKE_INSTALL_BINDIR}")
+        install(TARGETS SDL3-shared LIBRARY DESTINATION "${CMAKE_INSTALL_LIBDIR}" NAMELINK_SKIP)
     endif()
     if(STEAM)
         install(IMPORTED_RUNTIME_ARTIFACTS SteamworksSDK::steam_api)