aboutsummaryrefslogtreecommitdiff
path: root/attic/modules/FindUDev.cmake
diff options
context:
space:
mode:
authorVolker Krause <vkrause@kde.org>2019-03-03 10:25:41 +0100
committerVolker Krause <vkrause@kde.org>2019-03-04 21:04:27 +0100
commit8999b7bd6f6d1505c1b59b48432a3cfa4a90a2f8 (patch)
treebb2595cba48be446b264058c80422a771d44930c /attic/modules/FindUDev.cmake
parent4c78221d13eefc497ff046f79e2c452913c27f6b (diff)
downloadextra-cmake-modules-8999b7bd6f6d1505c1b59b48432a3cfa4a90a2f8.tar.gz
extra-cmake-modules-8999b7bd6f6d1505c1b59b48432a3cfa4a90a2f8.tar.bz2
Add UDev find module
Summary: This one is originally coming from Solid, but there are several more copies in our repositories (plasma-desktop, kwin, powerdevil, etc). Reviewers: cgiboudeaux Reviewed By: cgiboudeaux Subscribers: cgiboudeaux, kde-frameworks-devel, kde-buildsystem Tags: #frameworks, #build_system Differential Revision: https://phabricator.kde.org/D19486
Diffstat (limited to 'attic/modules/FindUDev.cmake')
-rw-r--r--attic/modules/FindUDev.cmake19
1 files changed, 0 insertions, 19 deletions
diff --git a/attic/modules/FindUDev.cmake b/attic/modules/FindUDev.cmake
deleted file mode 100644
index 4c8390db..00000000
--- a/attic/modules/FindUDev.cmake
+++ /dev/null
@@ -1,19 +0,0 @@
-# - Try to find UDev
-# Once done this will define
-#
-# UDEV_FOUND - system has UDev
-# UDEV_INCLUDE_DIR - the libudev include directory
-# UDEV_LIBS - The libudev libraries
-
-# Copyright (c) 2010, Rafael Fernández López, <ereslibre@kde.org>
-#
-# Redistribution and use is allowed according to the terms of the BSD license.
-# For details see the accompanying COPYING-CMAKE-SCRIPTS file.
-
-find_path(UDEV_INCLUDE_DIR libudev.h)
-find_library(UDEV_LIBS udev)
-
-include(FindPackageHandleStandardArgs)
-find_package_handle_standard_args(UDev DEFAULT_MSG UDEV_INCLUDE_DIR UDEV_LIBS)
-
-mark_as_advanced(UDEV_INCLUDE_DIR UDEV_LIBS)