Add QNX as a platform to the cmake build files

This commit is contained in:
Elad Lahav
2023-01-06 08:24:18 -05:00
committed by Ryan C. Gordon
parent 8029a767ee
commit b47eeb8488
2 changed files with 4 additions and 0 deletions

View File

@@ -54,6 +54,8 @@ macro(SDL_DetectCMakePlatform)
set(SDL_CMAKE_PLATFORM Android)
elseif(CMAKE_SYSTEM_NAME MATCHES "Emscripten.*")
set(SDL_CMAKE_PLATFORM Emscripten)
elseif(CMAKE_SYSTEM_NAME MATCHES "QNX.*")
set(SDL_CMAKE_PLATFORM QNX)
elseif(CMAKE_SYSTEM_NAME MATCHES "BeOS.*")
message_error("BeOS support has been removed as of SDL 2.0.2.")
endif()