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.
12 if(LIBINOTIFY_INCLUDE_DIR)
13 # Already in cache, be silent
14 SET(LIBINOTIFY_FIND_QUIETLY TRUE)
17 FIND_PATH(LIBINOTIFY_INCLUDE_DIR sys/inotify.h)
18 FIND_LIBRARY(LIBINOTIFY_LIBRARY inotify)
20 INCLUDE(FindPackageHandleStandardArgs)
21 FIND_PACKAGE_HANDLE_STANDARD_ARGS(LIBINOTIFY DEFAULT_MSG LIBINOTIFY_LIBRARY LIBINOTIFY_INCLUDE_DIR)
23 MARK_AS_ADVANCED(LIBINOTIFY_LIBRARY LIBINOTIFY_INCLUDE_DIR)