mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-06-28 01:49:33 -06:00
InputCommon/CMakeLists: Link evdev and udev in privately
These libraries aren't directly used outside of InputCommon
This commit is contained in:
@ -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}
|
||||
)
|
||||
|
Reference in New Issue
Block a user