Merge pull request #4280 from jbeich/system-libusb

cmake: pass libusb include directory
This commit is contained in:
LC 2020-07-13 22:21:07 -04:00 committed by GitHub
commit e15aa03b49
5 changed files with 8 additions and 3 deletions

View file

@ -345,6 +345,7 @@ if(NOT APPLE)
endif()
if (NOT LIBUSB_FOUND)
add_subdirectory(externals/libusb)
set(LIBUSB_INCLUDE_DIR "")
set(LIBUSB_LIBRARIES usb)
endif()