swh:1:snp:c7c108084bc0bf3d81436bf980b46e98bd338453
Tip revision: b281c39d04e01de3baf06c482a8fe4496d3393b2 authored by johannes hanika on 16 November 2015, 16:47:25 UTC
Merge remote-tracking branch 'origin/pr/1035'
Merge remote-tracking branch 'origin/pr/1035'
Tip revision: b281c39
FindINotify.cmake
# - Find the native sqlite3 includes and library
#
# This module defines
# INOTIFY_INCLUDE_DIR, where to find inotify.h, etc.
# INOTIFY_FOUND, If false, do not try to use inotify.
# also defined, but not for general use are
# INOTIFY_LIBRARY, where to find the inotify library.
#=============================================================================
# Copyright 2010 henrik andersson
#=============================================================================
SET(INOTIFY_FIND_REQUIRED ${INotify_FIND_REQUIRED})
find_path(INOTIFY_INCLUDE_DIR sys/inotify.h)
mark_as_advanced(INOTIFY_INCLUDE_DIR)
# handle the QUIETLY and REQUIRED arguments and set INOTIFY_FOUND to TRUE if
# all listed variables are TRUE
include(FindPackageHandleStandardArgs)
find_package_handle_standard_args(INOTIFY DEFAULT_MSG INOTIFY_INCLUDE_DIR)
IF(INOTIFY_FOUND)
SET(INotify_INCLUDE_DIRS ${INOTIFY_INCLUDE_DIR})
ENDIF(INOTIFY_FOUND)