Use FindInotify.cmake to decide wheter inotify is available.
ClosedPublic

Authored by adridg on Jun 19 2017, 7:13 AM.

Details

Summary

FreeBSD also has sys/inotify.h available, but it is a library.

We added FindInotify.cmake to ecm a while a go for this, but never got
around to upstream the rest of the patches. On Linux, the include and
libraries are empty (but found) while on FreeBSD with inotify they
are set to the right paths.

See also D6253.

Diff Detail

Repository
R293 Baloo
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
adridg created this revision.Jun 19 2017, 7:13 AM
Restricted Application added a project: Frameworks. · View Herald TranscriptJun 19 2017, 7:13 AM
Restricted Application added a subscriber: Frameworks. · View Herald Transcript
dfaure accepted this revision.Jun 19 2017, 7:20 AM
This revision is now accepted and ready to land.Jun 19 2017, 7:20 AM
This revision was automatically updated to reflect the committed changes.