cmake: Fix libusb builds breaking
This commit is contained in:
parent
e73c53fad1
commit
48aa076049
|
@ -330,6 +330,7 @@ elseif(SDL2_FOUND)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
# Ensure libusb is properly configured (based on dolphin libusb include)
|
# Ensure libusb is properly configured (based on dolphin libusb include)
|
||||||
|
INCLUDE(FindPkgConfig)
|
||||||
find_package(LibUSB)
|
find_package(LibUSB)
|
||||||
if (NOT LIBUSB_FOUND)
|
if (NOT LIBUSB_FOUND)
|
||||||
add_subdirectory(externals/libusb)
|
add_subdirectory(externals/libusb)
|
||||||
|
|
Loading…
Reference in New Issue