mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-24 06:51:17 +01:00
InputCommon/CMakeLists: Link evdev and udev in privately
These libraries aren't directly used outside of InputCommon
This commit is contained in:
parent
d63d0b5069
commit
73ebc190fa
@ -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}
|
||||
)
|
||||
|
Loading…
x
Reference in New Issue
Block a user