cmake: add qnx support

Co-authored-by: elahav <elahav@users.noreply.github.com>
This commit is contained in:
Anonymous Maartenandelahav committed 2023-09-30 16:53:53 +02:00
1 parent 145ad48c0e
commit 24d145f4b6
3 files changed
+38 -2

No files matched your search

+2
View File
@@ -28,6 +28,8 @@ macro(SDL_DetectCMakePlatform)
set(SDL_CMAKE_PLATFORM AIX)
elseif(CMAKE_SYSTEM_NAME MATCHES "Minix.*")
set(SDL_CMAKE_PLATFORM MINIX)
elseif(CMAKE_SYSTEM_NAME MATCHES "QNX")
set(SDL_CMAKE_PLATFORM QNX)
endif()
elseif(APPLE)
if(CMAKE_SYSTEM_NAME MATCHES ".*Darwin.*")