File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -37,6 +37,9 @@ find_library(UDEV_LIBRARY
37
37
PATHS
38
38
${PC_LIBUDEV_LIBRARY_DIRS}
39
39
${PC_LIBUDEV_LIBDIR}
40
+ /usr/lib64
41
+ /usr/lib
42
+ /usr/local/lib
40
43
HINTS
41
44
"${UDEV_ROOT_DIR} "
42
45
PATH_SUFFIXES
@@ -49,6 +52,8 @@ find_path(UDEV_INCLUDE_DIR
49
52
NAMES
50
53
libudev.h
51
54
PATHS
55
+ /usr/include
56
+ /usr/local/include
52
57
${PC_LIBUDEV_INCLUDE_DIRS}
53
58
${PC_LIBUDEV_INCLUDEDIR}
54
59
HINTS
@@ -66,6 +71,10 @@ find_package_handle_standard_args(UDEV
66
71
UDEV_INCLUDE_DIR
67
72
)
68
73
74
+ if (UDEV_INCLUDE_DIR AND UDEV_LIBRARY )
75
+ set (UDEV_FOUND TRUE )
76
+ endif (UDEV_INCLUDE_DIR AND UDEV_LIBRARY )
77
+
69
78
if (UDEV_FOUND )
70
79
list (APPEND UDEV_LIBRARIES ${UDEV_LIBRARY} )
71
80
list (APPEND UDEV_INCLUDE_DIRS ${UDEV_INCLUDE_DIR} )
You can’t perform that action at this time.
0 commit comments