mirror of
https://github.com/shadps4-emu/ext-SDL.git
synced 2025-01-19 00:53:02 +00:00
cmake: fix typo in cmake/sdlplatform.cmake
This commit is contained in:
parent
65e7c8e265
commit
2f26c58504
@ -98,7 +98,6 @@ function(get_clang_tidy_ignored_files OUTVAR)
|
||||
"vulkan_static_assertions.hpp"
|
||||
"vulkan_structs.hpp"
|
||||
"vulkan_to_string.hpp"
|
||||
"vulkan.hpp"
|
||||
# HIDAPI
|
||||
"hid.c"
|
||||
"hid.cpp"
|
||||
|
@ -16,7 +16,7 @@ macro(SDL_DetectCMakePlatform)
|
||||
set(SDL_CMAKE_PLATFORM iOS)
|
||||
elseif (CMAKE_SYSTEM_NAME MATCHES "visionOS")
|
||||
set(SDL_CMAKE_PLATFORM visionOS)
|
||||
set(VISIONOS ON) # CMAKE does not set this automatically yet
|
||||
set(VISIONOS ON) # CMAKE does not set this automatically yet
|
||||
endif()
|
||||
elseif(CMAKE_SYSTEM_NAME MATCHES "Haiku.*")
|
||||
set(SDL_CMAKE_PLATFORM Haiku)
|
||||
@ -64,7 +64,7 @@ macro(SDL_DetectCMakePlatform)
|
||||
string(TOUPPER "${SDL_CMAKE_PLATFORM}" _upper_platform)
|
||||
set(${_upper_platform} TRUE)
|
||||
else()
|
||||
set(SDL_CMAKE_PLATFORM} "unknown")
|
||||
set(SDL_CMAKE_PLATFORM "unknown")
|
||||
endif()
|
||||
endmacro()
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user