diff options
| author | 2020-07-13 22:21:07 -0400 | |
|---|---|---|
| committer | 2020-07-13 22:21:07 -0400 | |
| commit | edb2caaae53109136ef6019a4ac64f5ab6defb1e (patch) | |
| tree | 3d8a1ff70eb0527cb5acd2bde6016365fd371972 /src/input_common/CMakeLists.txt | |
| parent | Merge pull request #4318 from lioncash/cpp20 (diff) | |
| parent | input_common: drop unused libusb.h include (diff) | |
| download | yuzu-edb2caaae53109136ef6019a4ac64f5ab6defb1e.tar.gz yuzu-edb2caaae53109136ef6019a4ac64f5ab6defb1e.tar.xz yuzu-edb2caaae53109136ef6019a4ac64f5ab6defb1e.zip | |
Merge pull request #4280 from jbeich/system-libusb
cmake: pass libusb include directory
Diffstat (limited to 'src/input_common/CMakeLists.txt')
| -rw-r--r-- | src/input_common/CMakeLists.txt | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/input_common/CMakeLists.txt b/src/input_common/CMakeLists.txt index 3bd76dd23..317c25bad 100644 --- a/src/input_common/CMakeLists.txt +++ b/src/input_common/CMakeLists.txt | |||
| @@ -30,7 +30,8 @@ if(SDL2_FOUND) | |||
| 30 | target_compile_definitions(input_common PRIVATE HAVE_SDL2) | 30 | target_compile_definitions(input_common PRIVATE HAVE_SDL2) |
| 31 | endif() | 31 | endif() |
| 32 | 32 | ||
| 33 | target_link_libraries(input_common PUBLIC ${LIBUSB_LIBRARIES}) | 33 | target_include_directories(input_common SYSTEM PRIVATE ${LIBUSB_INCLUDE_DIR}) |
| 34 | target_link_libraries(input_common PRIVATE ${LIBUSB_LIBRARIES}) | ||
| 34 | 35 | ||
| 35 | create_target_directory_groups(input_common) | 36 | create_target_directory_groups(input_common) |
| 36 | target_link_libraries(input_common PUBLIC core PRIVATE common Boost::boost) | 37 | target_link_libraries(input_common PUBLIC core PRIVATE common Boost::boost) |