diff options
| author | LC <mathew1800@gmail.com> | 2020-07-13 22:21:07 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-07-13 22:21:07 -0400 |
| commit | edb2caaae53109136ef6019a4ac64f5ab6defb1e (patch) | |
| tree | 3d8a1ff70eb0527cb5acd2bde6016365fd371972 /src/input_common/CMakeLists.txt | |
| parent | f1d8c83e1c3972a3500bc912b2217e81ddc08e13 (diff) | |
| parent | b284c433850053dca46d2e2381b16b17d38cd048 (diff) | |
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) target_compile_definitions(input_common PRIVATE HAVE_SDL2) endif() -target_link_libraries(input_common PUBLIC ${LIBUSB_LIBRARIES}) +target_include_directories(input_common SYSTEM PRIVATE ${LIBUSB_INCLUDE_DIR}) +target_link_libraries(input_common PRIVATE ${LIBUSB_LIBRARIES}) create_target_directory_groups(input_common) target_link_libraries(input_common PUBLIC core PRIVATE common Boost::boost) |
