From 50dc0ffbceebe0f633bd63cd4710a3e2f548d688 Mon Sep 17 00:00:00 2001 From: Guilherme Janczak Date: Thu, 18 Apr 2024 10:58:08 +0000 Subject: port to OpenBSD --- Source/Core/InputCommon/CMakeLists.txt | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'Source/Core/InputCommon') 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 -- cgit v1.2.3