summaryrefslogtreecommitdiff
path: root/src/input_common/CMakeLists.txt
diff options
context:
space:
mode:
authorGravatar LC2020-07-13 22:21:07 -0400
committerGravatar GitHub2020-07-13 22:21:07 -0400
commitedb2caaae53109136ef6019a4ac64f5ab6defb1e (patch)
tree3d8a1ff70eb0527cb5acd2bde6016365fd371972 /src/input_common/CMakeLists.txt
parentMerge pull request #4318 from lioncash/cpp20 (diff)
parentinput_common: drop unused libusb.h include (diff)
downloadyuzu-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.txt3
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)
31endif() 31endif()
32 32
33target_link_libraries(input_common PUBLIC ${LIBUSB_LIBRARIES}) 33target_include_directories(input_common SYSTEM PRIVATE ${LIBUSB_INCLUDE_DIR})
34target_link_libraries(input_common PRIVATE ${LIBUSB_LIBRARIES})
34 35
35create_target_directory_groups(input_common) 36create_target_directory_groups(input_common)
36target_link_libraries(input_common PUBLIC core PRIVATE common Boost::boost) 37target_link_libraries(input_common PUBLIC core PRIVATE common Boost::boost)