SDL: Detect QCC as the compiler

From 254f03388f5c155297008b71c483cc5aa08a80fb Mon Sep 17 00:00:00 2001
From: Elad Lahav <[EMAIL REDACTED]>
Date: Mon, 27 Mar 2023 06:16:09 -0400
Subject: [PATCH] Detect QCC as the compiler

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

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 64ce5318822b..eb4b6e3b3ceb 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -197,6 +197,8 @@ elseif(MSVC_VERSION GREATER 1400) # VisualStudio 8.0+
 elseif(CMAKE_C_COMPILER_ID MATCHES "^Intel$")
   set(SDL_ASSEMBLY_DEFAULT TRUE)
   set(USE_INTELCC TRUE)
+elseif(CMAKE_C_COMPILER_ID MATCHES "QCC")
+  set(USE_QCC TRUE)
 else()
   set(SDL_ASSEMBLY_DEFAULT FALSE)
 endif()