cmake: prefer system libusb

This commit is contained in:
Alexandre Bouvier 2022-12-05 22:03:34 +01:00
parent 8072951e04
commit 87fef2c12c
6 changed files with 24 additions and 71 deletions

View file

@ -273,3 +273,5 @@ else() # MINGW OR (${CMAKE_SYSTEM_NAME} MATCHES "Linux")
configure_file(config.h.in config.h)
endif() # MINGW OR (${CMAKE_SYSTEM_NAME} MATCHES "Linux")
add_library(libusb::usb ALIAS usb)