cmake: fix typo in cmake/sdlplatform.cmake

pull/9435/head
Anonymous Maarten 2024-04-02 23:44:15 +02:00
parent 65e7c8e265
commit 2f26c58504
2 changed files with 2 additions and 3 deletions

View File

@ -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"

View File

@ -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()