blob: dd25d63cb1fe6177a3671e96a03d4cb5cad2e7e2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
# - Try to find UDev
# Once done this will define
#
# UDEV_FOUND - system has UDev
# UDEV_LIBS - The libraries needed to use UDev
# 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_library(UDEV_LIBS udev)
if(UDEV_LIBS)
set(UDEV_FOUND TRUE)
endif(UDEV_LIBS)
include(FindPackageHandleStandardArgs)
find_package_handle_standard_args(UDev DEFAULT_MSG UDEV_LIBRARY UDEV_INCLUDE_DIR)
|