Detect QCC as the compiler

This commit is contained in:
Elad Lahav 2023-03-27 06:16:09 -04:00 committed by Ryan C. Gordon
parent 5fee62d774
commit 254f03388f
1 changed files with 2 additions and 0 deletions

View File

@ -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()