Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Plasma
KWin
Commits
5302094f
Commit
5302094f
authored
Jan 05, 2021
by
Vlad Zahorodnii
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cmake: Link against imported Xinput target
parent
b67f7437
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
5 deletions
+5
-5
CMakeLists.txt
CMakeLists.txt
+1
-1
plugins/platforms/x11/standalone/CMakeLists.txt
plugins/platforms/x11/standalone/CMakeLists.txt
+2
-2
plugins/platforms/x11/windowed/CMakeLists.txt
plugins/platforms/x11/windowed/CMakeLists.txt
+2
-2
No files found.
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
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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