Browse Source

Fix value of SDL_HIDAPI_DISABLED

Anonymous Maarten 2 years ago
parent
commit
c3495ec6ea
1 changed files with 1 additions and 1 deletions
  1. 1 1
      cmake/sdlchecks.cmake

+ 1 - 1
cmake/sdlchecks.cmake

@@ -1224,7 +1224,7 @@ macro(CheckHIDAPI)
         list(APPEND SOURCE_FILES ${HIDAPI_JOYSTICK_SOURCES})
       endif()
     else()
-      set(SDL_HIDAPI_DISABLED 0)
+      set(SDL_HIDAPI_DISABLED 1)
     endif()
   else()
     set(SDL_HIDAPI_DISABLED 1)