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
26b24906
Commit
26b24906
authored
Jan 05, 2021
by
Vlad Zahorodnii
Browse files
cmake: Remove FindUDev.cmake
It's in extra-cmake-modules now.
parent
9b1ea1c7
Changes
4
Hide whitespace changes
Inline
Side-by-side
CMakeLists.txt
View file @
26b24906
...
...
@@ -661,7 +661,7 @@ set(kwinLibs
${
kwin_XLIB_LIBS
}
${
kwin_XCB_LIBS
}
${
kwin_WAYLAND_LIBS
}
${
UDEV_LIBS
}
UDev::UDev
Libinput::Libinput
)
...
...
autotests/libinput/CMakeLists.txt
View file @
26b24906
include_directories
(
${
Libinput_INCLUDE_DIRS
}
)
include_directories
(
${
UDEV_INCLUDE_DIR
}
)
add_library
(
LibInputTestObjects STATIC ../../libinput/device.cpp ../../libinput/events.cpp mock_libinput.cpp
)
target_link_libraries
(
LibInputTestObjects Qt5::Test Qt5::Widgets Qt5::DBus Qt5::Gui KF5::ConfigCore
)
...
...
cmake/modules/FindUDev.cmake
deleted
100644 → 0
View file @
9b1ea1c7
# - Try to find the UDev library
# Once done this will define
#
# UDEV_FOUND - system has UDev
# UDEV_INCLUDE_DIR - the libudev include directory
# UDEV_LIBS - The libudev libraries
# SPDX-FileCopyrightText: 2010 Rafael Fernández López <ereslibre@kde.org>
#
# SPDX-License-Identifier: BSD-3-Clause
find_path
(
UDEV_INCLUDE_DIR libudev.h
)
find_library
(
UDEV_LIBS udev
)
if
(
UDEV_INCLUDE_DIR AND UDEV_LIBS
)
include
(
CheckFunctionExists
)
include
(
CMakePushCheckState
)
cmake_push_check_state
()
set
(
CMAKE_REQUIRED_LIBRARIES
${
UDEV_LIBS
}
)
cmake_pop_check_state
()
endif
()
include
(
FindPackageHandleStandardArgs
)
find_package_handle_standard_args
(
UDev DEFAULT_MSG UDEV_INCLUDE_DIR UDEV_LIBS
)
mark_as_advanced
(
UDEV_INCLUDE_DIR UDEV_LIBS
)
tests/CMakeLists.txt
View file @
26b24906
...
...
@@ -21,7 +21,7 @@ set(libinputtest_SRCS
)
add_executable
(
libinputtest
${
libinputtest_SRCS
}
)
add_definitions
(
-DKWIN_BUILD_TESTING
)
target_link_libraries
(
libinputtest Qt5::Core Qt5::DBus Libinput::Libinput
${
UDEV_LIBS
}
KF5::ConfigCore KF5::GlobalAccel KF5::WindowSystem
)
target_link_libraries
(
libinputtest Qt5::Core Qt5::DBus Libinput::Libinput
UDev::UDev
KF5::ConfigCore KF5::GlobalAccel KF5::WindowSystem
)
add_executable
(
x11shadowreader x11shadowreader.cpp
)
target_link_libraries
(
x11shadowreader XCB::XCB Qt5::Widgets Qt5::X11Extras KF5::ConfigCore KF5::WindowSystem
)
...
...
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