Quellcode durchsuchen

cmake: fix typo in cmake/sdlplatform.cmake

Anonymous Maarten vor 1 Jahr
Ursprung
Commit
2f26c58504
2 geänderte Dateien mit 2 neuen und 3 gelöschten Zeilen
  1. 0 1
      cmake/3rdparty.cmake
  2. 2 2
      cmake/sdlplatform.cmake

+ 0 - 1
cmake/3rdparty.cmake

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

+ 2 - 2
cmake/sdlplatform.cmake

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