CMakeLists.txt
changeset 12971 2fbd3d8432ab
parent 12938 165d577cdc63
child 12974 0fef4b21fa1d
     1.1 --- a/CMakeLists.txt	Wed Jul 31 19:40:50 2019 +0300
     1.2 +++ b/CMakeLists.txt	Wed Jul 31 11:34:00 2019 -0500
     1.3 @@ -1128,7 +1128,9 @@
     1.4    endif()
     1.5  
     1.6    if(SDL_JOYSTICK)
     1.7 -    CheckUSBHID()   # seems to be BSD specific - limit the test to BSD only?
     1.8 +    if(FREEBSD OR NETBSD OR OPENBSD OR BSDI)
     1.9 +      CheckUSBHID()
    1.10 +    endif()
    1.11      CheckHIDAPI()
    1.12      if(LINUX AND NOT ANDROID)
    1.13        set(SDL_JOYSTICK_LINUX 1)