cmake: Fix libusb builds breaking

This commit is contained in:
David Marcec 2020-07-10 14:02:44 +10:00
parent e73c53fad1
commit 48aa076049
1 changed files with 1 additions and 0 deletions

View File

@ -330,6 +330,7 @@ elseif(SDL2_FOUND)
endif()
# Ensure libusb is properly configured (based on dolphin libusb include)
INCLUDE(FindPkgConfig)
find_package(LibUSB)
if (NOT LIBUSB_FOUND)
add_subdirectory(externals/libusb)