mirror of
				https://github.com/libsdl-org/SDL.git
				synced 2025-11-04 09:44:35 +00:00 
			
		
		
		
	cmake: fix typo in cmake/sdlplatform.cmake
This commit is contained in:
		@@ -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()
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user