Check more thoroughly for inotify
Review Request #129548 - Created Nov. 23, 2016 and discarded
|Adriaan de Groot|
Don't just assume that Linux has inotify and nobody else does. Instead, check for inotify on non-Linux systems and if found, use it.
This depends on https://git.reviewboard.kde.org/r/129316/ to actually get the Inotify cmake-module.
This way, FreeBSD (which gets inotify support through libinotify) finds inotify, enables support for it, and then builds all the bits of baloo that depend on inotify. This is already done in the FreeBSD packaging.