Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Plasma
KWin
Commits
5302094f
Commit
5302094f
authored
Jan 05, 2021
by
Vlad Zahorodnii
Browse files
cmake: Link against imported Xinput target
parent
b67f7437
Changes
3
Hide whitespace changes
Inline
Side-by-side
CMakeLists.txt
View file @
5302094f
...
...
@@ -228,7 +228,7 @@ set_package_properties(X11 PROPERTIES
URL
"https://www.x.org"
TYPE REQUIRED
)
add_feature_info
(
"XInput"
X11_Xi
nput
_FOUND
"Required for poll-free mouse cursor updates"
)
add_feature_info
(
"XInput"
X11_Xi_FOUND
"Required for poll-free mouse cursor updates"
)
set
(
HAVE_X11_XINPUT
${
X11_Xinput_FOUND
}
)
find_package
(
lcms2
)
...
...
plugins/platforms/x11/standalone/CMakeLists.txt
View file @
5302094f
...
...
@@ -29,8 +29,8 @@ endif()
add_library
(
KWinX11Platform MODULE
${
X11PLATFORM_SOURCES
}
)
set_target_properties
(
KWinX11Platform PROPERTIES LIBRARY_OUTPUT_DIRECTORY
"
${
CMAKE_BINARY_DIR
}
/bin/org.kde.kwin.platforms/"
)
target_link_libraries
(
KWinX11Platform eglx11common kwin kwinxrenderutils SceneOpenGLBackend VsyncSupport Qt5::X11Extras XCB::CURSOR KF5::Crash X11::X11
)
if
(
X11_Xi
nput
_FOUND
)
target_link_libraries
(
KWinX11Platform
${
X11
_Xinput_LIB
}
)
if
(
X11_Xi_FOUND
)
target_link_libraries
(
KWinX11Platform X11
::Xi
)
endif
()
if
(
KWIN_BUILD_XRENDER_COMPOSITING
)
...
...
plugins/platforms/x11/windowed/CMakeLists.txt
View file @
5302094f
...
...
@@ -9,8 +9,8 @@ set(X11BACKEND_SOURCES
add_library
(
KWinWaylandX11Backend MODULE
${
X11BACKEND_SOURCES
}
)
set_target_properties
(
KWinWaylandX11Backend PROPERTIES LIBRARY_OUTPUT_DIRECTORY
"
${
CMAKE_BINARY_DIR
}
/bin/org.kde.kwin.waylandbackends/"
)
target_link_libraries
(
KWinWaylandX11Backend eglx11common kwin kwinxrenderutils X11::XCB SceneQPainterBackend SceneOpenGLBackend VsyncSupport X11::X11
)
if
(
X11_Xi
nput
_FOUND
)
target_link_libraries
(
KWinWaylandX11Backend
${
X11
_Xinput_LIB
}
)
if
(
X11_Xi_FOUND
)
target_link_libraries
(
KWinWaylandX11Backend X11
::Xi
)
endif
()
install
(
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment