cmake: switch iOS and watchOS
parent
2d640d0b59
commit
9f83647aec
|
@ -11,9 +11,9 @@ macro(SDL_DetectCMakePlatform)
|
||||||
elseif(CMAKE_SYSTEM_NAME MATCHES ".*tvOS.*")
|
elseif(CMAKE_SYSTEM_NAME MATCHES ".*tvOS.*")
|
||||||
set(SDL_CMAKE_PLATFORM tvOS)
|
set(SDL_CMAKE_PLATFORM tvOS)
|
||||||
elseif(CMAKE_SYSTEM_NAME MATCHES ".*iOS.*")
|
elseif(CMAKE_SYSTEM_NAME MATCHES ".*iOS.*")
|
||||||
set(SDL_CMAKE_PLATFORM watchOS)
|
|
||||||
elseif(CMAKE_SYSTEM_NAME MATCHES ".*watchOS.*")
|
|
||||||
set(SDL_CMAKE_PLATFORM iOS)
|
set(SDL_CMAKE_PLATFORM iOS)
|
||||||
|
elseif(CMAKE_SYSTEM_NAME MATCHES ".*watchOS.*")
|
||||||
|
set(SDL_CMAKE_PLATFORM watchOS)
|
||||||
elseif (CMAKE_SYSTEM_NAME MATCHES "visionOS")
|
elseif (CMAKE_SYSTEM_NAME MATCHES "visionOS")
|
||||||
set(SDL_CMAKE_PLATFORM visionOS)
|
set(SDL_CMAKE_PLATFORM visionOS)
|
||||||
else()
|
else()
|
||||||
|
|
Loading…
Reference in New Issue