diff options
| author | 2021-06-10 23:35:30 -0700 | |
|---|---|---|
| committer | 2021-06-10 23:35:30 -0700 | |
| commit | c1b8e59ea0669d213535516606d4a14e210b3f22 (patch) | |
| tree | 52099adfbf49176b8584eef2549e65a4d3e7a4a0 /src | |
| parent | Merge pull request #6445 from degasus/fix_ubsn (diff) | |
| parent | externals: libusb: Call program names not full paths (diff) | |
| download | yuzu-c1b8e59ea0669d213535516606d4a14e210b3f22.tar.gz yuzu-c1b8e59ea0669d213535516606d4a14e210b3f22.tar.xz yuzu-c1b8e59ea0669d213535516606d4a14e210b3f22.zip | |
Merge pull request #6407 from lat9nq/fix-libusb-2
cmake: Use autotools for libusb linking generally on GNU, and cleanup
Diffstat (limited to '')
| -rw-r--r-- | src/input_common/CMakeLists.txt | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/input_common/CMakeLists.txt b/src/input_common/CMakeLists.txt index de53e1fda..7c5763f9c 100644 --- a/src/input_common/CMakeLists.txt +++ b/src/input_common/CMakeLists.txt | |||
| @@ -71,8 +71,7 @@ if (ENABLE_SDL2) | |||
| 71 | target_compile_definitions(input_common PRIVATE HAVE_SDL2) | 71 | target_compile_definitions(input_common PRIVATE HAVE_SDL2) |
| 72 | endif() | 72 | endif() |
| 73 | 73 | ||
| 74 | target_include_directories(input_common SYSTEM PRIVATE ${LIBUSB_INCLUDE_DIR}) | 74 | target_link_libraries(input_common PRIVATE usb) |
| 75 | target_link_libraries(input_common PRIVATE ${LIBUSB_LIBRARIES}) | ||
| 76 | 75 | ||
| 77 | create_target_directory_groups(input_common) | 76 | create_target_directory_groups(input_common) |
| 78 | target_link_libraries(input_common PUBLIC core PRIVATE common Boost::boost) | 77 | target_link_libraries(input_common PUBLIC core PRIVATE common Boost::boost) |