mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-06-06 22:53:23 +00:00
cmake: forward HAVE_LIBUSB to HAVE_HIDAPI_LIBUSB
This commit is contained in:
parent
c3495ec6ea
commit
6dfd7a17e1
1 changed files with 1 additions and 3 deletions
|
|
@ -1201,9 +1201,7 @@ macro(CheckHIDAPI)
|
|||
if(HIDAPI_ONLY_LIBUSB AND NOT HAVE_LIBUSB)
|
||||
set(HAVE_HIDAPI FALSE)
|
||||
endif()
|
||||
if(NOT HAVE_LIBUSB)
|
||||
set(HAVE_HIDAPI_LIBUSB FALSE)
|
||||
endif()
|
||||
set(HAVE_HIDAPI_LIBUSB ${HAVE_LIBUSB})
|
||||
endif()
|
||||
|
||||
if(HAVE_HIDAPI)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue