Explorar o código

Detect QCC as the compiler

Elad Lahav %!s(int64=2) %!d(string=hai) anos
pai
achega
254f03388f
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      CMakeLists.txt

+ 2 - 0
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()