summaryrefslogtreecommitdiff
path: root/Source/Core/InputCommon
diff options
context:
space:
mode:
authorGuilherme Janczak <guilherme.janczak@yandex.com>2024-04-18 10:58:08 +0000
committerGuilherme Janczak <guilherme.janczak@yandex.com>2024-04-22 20:50:47 +0000
commit50dc0ffbceebe0f633bd63cd4710a3e2f548d688 (patch)
treeb99f6337579512b87f6412a4233a98531d5438c8 /Source/Core/InputCommon
parente69486d2cb4e3e01dd622d760350b26d6cbd59f5 (diff)
port to OpenBSD
Diffstat (limited to 'Source/Core/InputCommon')
-rw-r--r--Source/Core/InputCommon/CMakeLists.txt6
1 files changed, 2 insertions, 4 deletions
diff --git a/Source/Core/InputCommon/CMakeLists.txt b/Source/Core/InputCommon/CMakeLists.txt
index 90b31e373a..ee144e32f4 100644
--- a/Source/Core/InputCommon/CMakeLists.txt
+++ b/Source/Core/InputCommon/CMakeLists.txt
@@ -125,14 +125,12 @@ elseif(APPLE)
-fobjc-arc
)
elseif(X11_FOUND)
+ target_include_directories(inputcommon PUBLIC ${X11_INPUT_INCLUDE_DIRS})
target_sources(inputcommon PRIVATE
ControllerInterface/Xlib/XInput2.cpp
ControllerInterface/Xlib/XInput2.h
)
- target_link_libraries(inputcommon PUBLIC
- ${X11_LIBRARIES}
- ${X11_INPUT_LIBRARIES}
- )
+ target_link_libraries(inputcommon PRIVATE PkgConfig::X11_INPUT)
elseif(ANDROID)
target_compile_definitions(inputcommon PRIVATE -DCIFACE_USE_ANDROID)
target_sources(inputcommon PRIVATE