diff options
author | Scott Anderson <ascent12@hotmail.com> | 2017-07-11 00:20:31 +1200 |
---|---|---|
committer | Scott Anderson <ascent12@hotmail.com> | 2017-07-11 00:28:56 +1200 |
commit | 924bf0f669cde20b414cd9f12e72750ca5fdbbaf (patch) | |
tree | eedb833983f05b26f09236c7a9bd74d908d3a354 /CMake/FindUdev.cmake | |
parent | 8189c64d7f07a756abf5a6189719f02b2f1af967 (diff) |
Changed build system to meson
Diffstat (limited to 'CMake/FindUdev.cmake')
-rw-r--r-- | CMake/FindUdev.cmake | 40 |
1 files changed, 0 insertions, 40 deletions
diff --git a/CMake/FindUdev.cmake b/CMake/FindUdev.cmake deleted file mode 100644 index dd97d8e0..00000000 --- a/CMake/FindUdev.cmake +++ /dev/null @@ -1,40 +0,0 @@ -#.rst: -# FindUdev -# ------- -# -# Find udev library -# -# Try to find udev library on UNIX systems. The following values are defined -# -# :: -# -# UDEV_FOUND - True if udev is available -# UDEV_INCLUDE_DIRS - Include directories for udev -# UDEV_LIBRARIES - List of libraries for udev -# UDEV_DEFINITIONS - List of definitions for udev -# -#============================================================================= -# Copyright (c) 2015 Jari Vetoniemi -# -# Distributed under the OSI-approved BSD License (the "License"); -# -# This software is distributed WITHOUT ANY WARRANTY; without even the -# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. -# See the License for more information. -#============================================================================= - -include(FeatureSummary) -set_package_properties(Udev PROPERTIES - URL "https://www.kernel.org/pub/linux/utils/kernel/hotplug/udev/udev.html" - DESCRIPTION "Device manager for the Linux kernel") - -find_package(PkgConfig) -pkg_check_modules(PC_UDEV QUIET libudev) -find_library(UDEV_LIBRARIES NAMES udev HINTS ${PC_UDEV_LIBRARY_DIRS}) -find_path(UDEV_INCLUDE_DIRS libudev.h HINTS ${PC_UDEV_INCLUDE_DIRS}) - -set(UDEV_DEFINITIONS ${PC_UDEV_CFLAGS_OTHER}) - -include(FindPackageHandleStandardArgs) -find_package_handle_standard_args(UDEV DEFAULT_MSG UDEV_INCLUDE_DIRS UDEV_LIBRARIES) -mark_as_advanced(UDEV_INCLUDE_DIRS UDEV_LIBRARIES UDEV_DEFINITIONS) |