~ubuntu-branches/ubuntu/quantal/usbmuxd/quantal-proposed

« back to all changes in this revision

Viewing changes to Modules/FindInotify.cmake

  • Committer: Package Import Robot
  • Author(s): Whoopie
  • Date: 2013-02-05 08:56:59 UTC
  • Revision ID: package-import@ubuntu.com-20130205085659-z0a8c1an5x4j2b35
Tags: 1.0.8-1ubuntu0.1
Correctly find inotify.h to build with inotify support (LP: #656009).

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
set(INOTIFY_H "NOTFOUND")
2
 
find_file(INOTIFY_H
3
 
  "sys/inotify.h"
4
 
  PATHS ENV INCLUDE
 
2
find_path(INOTIFY_H
 
3
  sys/inotify.h
 
4
  PATH_SUFFIXES
 
5
    ${CMAKE_LIBRARY_ARCHITECTURE}
5
6
)
6
7
 
7
8
if (INOTIFY_H)