Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 24 lines (18 sloc) 0.625 kB
7b3e14f @sgolemon Add check for inotify.h and (optional) libinotify.so
sgolemon authored
1 #
2 # $Id$
3 #
4 # - Find libinotify
5 # Find libinotify
6 #
7 # LIBINOTIFY_INCLUDE_DIR - where to find sys/inotify.h
8 # LIBINOTIFY_LIBRARY - List of libraries when using libinotify
9 # LIBINOTIFY_FOUND - True if libinotify found.
10
11
12 if(LIBINOTIFY_INCLUDE_DIR)
13 # Already in cache, be silent
14 SET(LIBINOTIFY_FIND_QUIETLY TRUE)
15 endif()
16
17 FIND_PATH(LIBINOTIFY_INCLUDE_DIR sys/inotify.h)
18 FIND_LIBRARY(LIBINOTIFY_LIBRARY inotify)
19
20 INCLUDE(FindPackageHandleStandardArgs)
21 FIND_PACKAGE_HANDLE_STANDARD_ARGS(LIBINOTIFY DEFAULT_MSG LIBINOTIFY_LIBRARY LIBINOTIFY_INCLUDE_DIR)
22
23 MARK_AS_ADVANCED(LIBINOTIFY_LIBRARY LIBINOTIFY_INCLUDE_DIR)
Something went wrong with that request. Please try again.