minor os/2 stuff merged from the bitwiseworks' fork

This commit is contained in:
Ozkan Sezer
2023-07-28 23:55:50 +03:00
parent 3845fd3c49
commit 38a5aed974
5 changed files with 12 additions and 4 deletions

View File

@@ -48,6 +48,8 @@ macro(SDL_DetectCMakePlatform)
set(SDL_CMAKE_PLATFORM HAIKU)
elseif(NINTENDO_3DS)
set(SDL_CMAKE_PLATFORM N3DS)
elseif(OS2)
set(SDL_CMAKE_PLATFORM OS2)
endif()
if(SDL_CMAKE_PLATFORM)
set(${SDL_CMAKE_PLATFORM} TRUE)