diff options
| author | Lioncash <mathew1800@gmail.com> | 2018-04-10 09:53:08 -0400 |
|---|---|---|
| committer | Lioncash <mathew1800@gmail.com> | 2018-04-10 09:59:55 -0400 |
| commit | 73ebc190fae87bf6009daa336a08d30bfc56576b (patch) | |
| tree | dacefeda2fe8df0767b6743e012269c354429e81 | |
| parent | d63d0b5069dbbe9f9377624cd7849d2d3f74d454 (diff) | |
InputCommon/CMakeLists: Link evdev and udev in privately
These libraries aren't directly used outside of InputCommon
| -rw-r--r-- | Source/Core/InputCommon/CMakeLists.txt | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Source/Core/InputCommon/CMakeLists.txt b/Source/Core/InputCommon/CMakeLists.txt index 6e44880a07..b79d9fef19 100644 --- a/Source/Core/InputCommon/CMakeLists.txt +++ b/Source/Core/InputCommon/CMakeLists.txt @@ -74,7 +74,8 @@ else() endif() if(LIBEVDEV_FOUND AND LIBUDEV_FOUND) - target_sources(inputcommon PRIVATE + target_sources(inputcommon + PRIVATE ControllerInterface/evdev/evdev.cpp ) target_include_directories(inputcommon @@ -82,7 +83,8 @@ if(LIBEVDEV_FOUND AND LIBUDEV_FOUND) ${LIBEVDEV_INCLUDE_DIR} ${LIBUDEV_INCLUDE_DIR} ) - target_link_libraries(inputcommon PUBLIC + target_link_libraries(inputcommon + PRIVATE ${LIBEVDEV_LIBRARY} ${LIBUDEV_LIBRARY} ) |
