summaryrefslogtreecommitdiff
path: root/Source/Core
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Core')
-rw-r--r--Source/Core/InputCommon/CMakeLists.txt6
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}
)