mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-06-28 01:49:33 -06:00
InputCommon/CMakeLists: Include evdev and udev includes on a by-target basis
Avoids including the evdev/udev includes in the top-level directory
This commit is contained in:
@ -77,6 +77,11 @@ if(LIBEVDEV_FOUND AND LIBUDEV_FOUND)
|
||||
target_sources(inputcommon PRIVATE
|
||||
ControllerInterface/evdev/evdev.cpp
|
||||
)
|
||||
target_include_directories(inputcommon
|
||||
PRIVATE
|
||||
${LIBEVDEV_INCLUDE_DIR}
|
||||
${LIBUDEV_INCLUDE_DIR}
|
||||
)
|
||||
target_link_libraries(inputcommon PUBLIC
|
||||
${LIBEVDEV_LIBRARY}
|
||||
${LIBUDEV_LIBRARY}
|
||||
|
Reference in New Issue
Block a user