Commit c3495ec6eaaaf9f0d3250a9d39356154b869251c

Anonymous Maarten 2022-09-10T14:11:19

Fix value of SDL_HIDAPI_DISABLED

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/cmake/sdlchecks.cmake b/cmake/sdlchecks.cmake
index b220d33..1017aa5 100644
--- a/cmake/sdlchecks.cmake
+++ b/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)