diff options
author | Ameer <aj662@drexel.edu> | 2020-06-22 00:43:01 +0200 |
---|---|---|
committer | Ameer <aj662@drexel.edu> | 2020-06-22 03:17:07 +0200 |
commit | 121af3646dad0f80453d2ffffa688dd4435d3acc (patch) | |
tree | 020971e22b4423f63a0a04da7fa4087bf85e2bb9 /CMakeLists.txt | |
parent | Clang Formatting (diff) | |
download | yuzu-121af3646dad0f80453d2ffffa688dd4435d3acc.tar yuzu-121af3646dad0f80453d2ffffa688dd4435d3acc.tar.gz yuzu-121af3646dad0f80453d2ffffa688dd4435d3acc.tar.bz2 yuzu-121af3646dad0f80453d2ffffa688dd4435d3acc.tar.lz yuzu-121af3646dad0f80453d2ffffa688dd4435d3acc.tar.xz yuzu-121af3646dad0f80453d2ffffa688dd4435d3acc.tar.zst yuzu-121af3646dad0f80453d2ffffa688dd4435d3acc.zip |
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index b71071271..967968226 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -328,6 +328,12 @@ elseif(SDL2_FOUND) target_link_libraries(SDL2 INTERFACE "${SDL2_LIBRARIES}") endif() +# Ensure libusb is properly configured (based on dolphin libusb include) +find_package(LibUSB) +add_subdirectory(externals/libusb) +set(LIBUSB_LIBRARIES usb) + + # Prefer the -pthread flag on Linux. set(THREADS_PREFER_PTHREAD_FLAG ON) find_package(Threads REQUIRED) |