Skip to content
This repository
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

file 24 lines (18 sloc) 0.625 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
#
# $Id$
#
# - Find libinotify
# Find libinotify
#
# LIBINOTIFY_INCLUDE_DIR - where to find sys/inotify.h
# LIBINOTIFY_LIBRARY - List of libraries when using libinotify
# LIBINOTIFY_FOUND - True if libinotify found.


if(LIBINOTIFY_INCLUDE_DIR)
  # Already in cache, be silent
  SET(LIBINOTIFY_FIND_QUIETLY TRUE)
endif()

FIND_PATH(LIBINOTIFY_INCLUDE_DIR sys/inotify.h)
FIND_LIBRARY(LIBINOTIFY_LIBRARY inotify)

INCLUDE(FindPackageHandleStandardArgs)
FIND_PACKAGE_HANDLE_STANDARD_ARGS(LIBINOTIFY DEFAULT_MSG LIBINOTIFY_LIBRARY LIBINOTIFY_INCLUDE_DIR)

MARK_AS_ADVANCED(LIBINOTIFY_LIBRARY LIBINOTIFY_INCLUDE_DIR)
Something went wrong with that request. Please try again.